aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_oracle12.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/visitors/test_oracle12.rb')
-rw-r--r--test/visitors/test_oracle12.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visitors/test_oracle12.rb b/test/visitors/test_oracle12.rb
index c908a51d4f..62658bc595 100644
--- a/test/visitors/test_oracle12.rb
+++ b/test/visitors/test_oracle12.rb
@@ -48,8 +48,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(1))
+ .and(@table[:id].eq(Arel::Nodes::BindParam.new(1)))
compile(query).must_be_like %{
"users"."name" = :a1 AND "users"."id" = :a2
}