From b2fb1d3381027176505e8709acd22295fb57597a Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 8 Apr 2014 17:16:21 -0700 Subject: postgresql visitor is working --- test/visitors/test_to_sql.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/visitors/test_to_sql.rb') diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index 4ed1f225ce..eb102c1905 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -6,7 +6,6 @@ module Arel before do @conn = FakeRecord::Base.new @visitor = ToSql.new @conn.connection - @collector = Collectors::SQLString.new @table = Table.new(:users) @attr = @table[:id] end @@ -33,7 +32,7 @@ module Arel end }.new - viz.accept(@table, @collector) + viz.accept(@table, Collectors::SQLString.new) assert visited, 'hello method was called' end -- cgit v1.2.3