diff options
Diffstat (limited to 'test/visitors/test_postgres.rb')
-rw-r--r-- | test/visitors/test_postgres.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visitors/test_postgres.rb b/test/visitors/test_postgres.rb index 26cc721871..3b4fdc0427 100644 --- a/test/visitors/test_postgres.rb +++ b/test/visitors/test_postgres.rb @@ -176,8 +176,8 @@ module Arel describe "Nodes::BindParam" do it "increments each bind param" do - query = @table[:name].eq(Arel::Nodes::BindParam.new) - .and(@table[:id].eq(Arel::Nodes::BindParam.new)) + query = @table[:name].eq(Arel::Nodes::BindParam.new(nil)) + .and(@table[:id].eq(Arel::Nodes::BindParam.new(nil))) compile(query).must_be_like %{ "users"."name" = $1 AND "users"."id" = $2 } |