aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_postgres.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-21 15:14:29 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-21 15:14:29 -0800
commit8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab (patch)
tree1747542bbe74522a53608599e0875bd37fea80b5 /test/visitors/test_postgres.rb
parent1c48bef21533039c81fdcaf868be518d5c16e383 (diff)
downloadrails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.tar.gz
rails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.tar.bz2
rails-8ed3ab00f1ba8cdf48dea4ca28d2d3a7e73396ab.zip
Lock should be a unary node
Diffstat (limited to 'test/visitors/test_postgres.rb')
-rw-r--r--test/visitors/test_postgres.rb2
1 files changed, 1 insertions, 1 deletions
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