From aa14068100a968c6c616a525c287fbfaacc7d487 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sat, 16 Nov 2013 14:20:07 -0800 Subject: explicitly pass the pk to compile_update --- test/test_crud.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_crud.rb') diff --git a/test/test_crud.rb b/test/test_crud.rb index fe3e4f2e02..ded1b632b7 100644 --- a/test/test_crud.rb +++ b/test/test_crud.rb @@ -45,7 +45,7 @@ module Arel table = Table.new :users fc = FakeCrudder.new fc.from table - stmt = fc.compile_update [[table[:id], 'foo']] + stmt = fc.compile_update [[table[:id], 'foo']], table.primary_key assert_instance_of Arel::UpdateManager, stmt end end -- cgit v1.2.3