From 5d6d14cb6be217abc04253da0fe49721d09e9575 Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Sun, 30 Apr 2017 22:19:09 -0400 Subject: Support multiple inserts --- test/test_table.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_table.rb') diff --git a/test/test_table.rb b/test/test_table.rb index 9877d24541..e83d04d2bd 100644 --- a/test/test_table.rb +++ b/test/test_table.rb @@ -42,10 +42,10 @@ module Arel end it 'should return an insert manager' do - im = @relation.compile_insert 'VALUES(NULL)' + im = @relation.compile_insert '(NULL)' assert_kind_of Arel::InsertManager, im im.into Table.new(:users) - assert_equal "INSERT INTO \"users\" VALUES(NULL)", im.to_sql + assert_equal "INSERT INTO \"users\" VALUES (NULL)", im.to_sql end describe 'skip' do -- cgit v1.2.3