diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/visitors/test_depth_first.rb | 2 | ||||
-rw-r--r-- | test/visitors/test_mysql.rb | 2 | ||||
-rw-r--r-- | test/visitors/test_postgres.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb index 6d74926743..06e7bba9fb 100644 --- a/test/visitors/test_depth_first.rb +++ b/test/visitors/test_depth_first.rb @@ -63,7 +63,7 @@ module Arel end def test_lock - lock = Nodes::Lock.new + lock = Nodes::Lock.new true @visitor.accept lock assert_equal [lock], @collector.calls end diff --git a/test/visitors/test_mysql.rb b/test/visitors/test_mysql.rb index c22cbaff19..ee70d4c174 100644 --- a/test/visitors/test_mysql.rb +++ b/test/visitors/test_mysql.rb @@ -31,7 +31,7 @@ module Arel describe 'locking' do it 'defaults to FOR UPDATE when locking' do - node = Nodes::Lock.new + node = Nodes::Lock.new true @visitor.accept(node).must_be_like "FOR UPDATE" end diff --git a/test/visitors/test_postgres.rb b/test/visitors/test_postgres.rb index 9ed42b1806..169510185e 100644 --- a/test/visitors/test_postgres.rb +++ b/test/visitors/test_postgres.rb @@ -9,7 +9,7 @@ module Arel describe 'locking' do it 'defaults to FOR UPDATE' do - @visitor.accept(Nodes::Lock.new).must_be_like %{ + @visitor.accept(Nodes::Lock.new(true)).must_be_like %{ FOR UPDATE } end |