From a454d45403cd0b8a24b05b7ff37021e307905825 Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Thu, 23 Apr 2009 18:53:03 -0300 Subject: Fix insertion to work on SQLite3 --- spec/arel/unit/relations/insert_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3