aboutsummaryrefslogtreecommitdiffstats
path: root/test/collectors/test_sql_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/collectors/test_sql_string.rb')
-rw-r--r--test/collectors/test_sql_string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/collectors/test_sql_string.rb b/test/collectors/test_sql_string.rb
index 6d2e23151b..37a9e41f71 100644
--- a/test/collectors/test_sql_string.rb
+++ b/test/collectors/test_sql_string.rb
@@ -20,14 +20,14 @@ module Arel
def ast_with_binds bv
table = Table.new(:users)
- manager = Arel::SelectManager.new Table.engine, table
+ manager = Arel::SelectManager.new table
manager.where(table[:age].eq(bv))
manager.where(table[:name].eq(bv))
manager.ast
end
def test_compile
- bv = Nodes::BindParam.new('?')
+ bv = Nodes::BindParam.new
collector = collect ast_with_binds bv
sql = collector.compile ["hello", "world"]