diff options
Diffstat (limited to 'test/collectors')
-rw-r--r-- | test/collectors/test_sql_string.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/collectors/test_sql_string.rb b/test/collectors/test_sql_string.rb index debec8e9c9..0185f2ab17 100644 --- a/test/collectors/test_sql_string.rb +++ b/test/collectors/test_sql_string.rb @@ -27,7 +27,7 @@ module Arel end def test_compile - bv = Nodes::BindParam.new(nil) + bv = Nodes::BindParam.new(1) collector = collect ast_with_binds bv sql = collector.compile ["hello", "world"] @@ -35,7 +35,7 @@ module Arel end def test_returned_sql_uses_utf8_encoding - bv = Nodes::BindParam.new(nil) + bv = Nodes::BindParam.new(1) collector = collect ast_with_binds bv sql = collector.compile ["hello", "world"] |