From bfb770dbcc8432b8d4c1824be0fb2b1ab1ce5d68 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Mon, 24 Jul 2017 09:08:24 -0400 Subject: Fix test failures --- test/collectors/test_sql_string.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/collectors') 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"] -- cgit v1.2.3