diff options
Diffstat (limited to 'test/test_table.rb')
-rw-r--r-- | test/test_table.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_table.rb b/test/test_table.rb index 2c1683b4ce..431a919de1 100644 --- a/test/test_table.rb +++ b/test/test_table.rb @@ -29,7 +29,8 @@ module Arel it 'should return an insert manager' do im = @relation.compile_insert 'VALUES(NULL)' assert_kind_of Arel::InsertManager, im - assert_equal 'INSERT INTO NULL VALUES(NULL)', im.to_sql + im.into Table.new(:users) + assert_equal "INSERT INTO \"users\" VALUES(NULL)", im.to_sql end it 'should return IM from insert_manager' do |