aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-04-23 18:53:03 -0300
committerEmilio Tagua <miloops@gmail.com>2009-04-23 18:53:03 -0300
commita454d45403cd0b8a24b05b7ff37021e307905825 (patch)
tree1d5b989e1bd32f47f00f7e72d3bfe97cf085ac0e /spec
parent318cf575eb2b7cf42cb133b3f24cd1aa5fa5e155 (diff)
downloadrails-a454d45403cd0b8a24b05b7ff37021e307905825.tar.gz
rails-a454d45403cd0b8a24b05b7ff37021e307905825.tar.bz2
rails-a454d45403cd0b8a24b05b7ff37021e307905825.zip
Fix insertion to work on SQLite3
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/unit/relations/insert_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/arel/unit/relations/insert_spec.rb b/spec/arel/unit/relations/insert_spec.rb
index 4ef51fef9d..441c97b290 100644
--- a/spec/arel/unit/relations/insert_spec.rb
+++ b/spec/arel/unit/relations/insert_spec.rb
@@ -14,7 +14,7 @@ module Arel
@insertion.to_sql.should be_like("
INSERT
INTO `users`
- (`users`.`name`) VALUES ('nick'), ('bryan')
+ (`name`) VALUES ('nick'), ('bryan')
")
end
@@ -24,7 +24,7 @@ module Arel
@insertion.to_sql.should be_like("
INSERT
INTO `users`
- (`users`.`id`, `users`.`name`) VALUES (1, 'nick')
+ (`id`, `name`) VALUES (1, 'nick')
")
end
@@ -37,7 +37,7 @@ module Arel
@insertion.to_sql.should be_like("
INSERT
INTO `users`
- (`users`.`name`) VALUES ('nick')
+ (`name`) VALUES ('nick')
")
end
end
@@ -51,7 +51,7 @@ module Arel
@insertion.to_sql.should be_like("
INSERT
INTO `users`
- (`users`.`id`) VALUES (1)
+ (`id`) VALUES (1)
")
end
end