diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/arel/unit/relations/insert_spec.rb | 8 |
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 |