diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 17:16:21 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 17:16:21 -0700 |
commit | b2fb1d3381027176505e8709acd22295fb57597a (patch) | |
tree | 5ada9d1e99b2360580fe9b614d633cbdcfc5ecb4 /test/visitors/test_to_sql.rb | |
parent | 93036b168b2877f2fe314b7fa0e8701878e32602 (diff) | |
download | rails-b2fb1d3381027176505e8709acd22295fb57597a.tar.gz rails-b2fb1d3381027176505e8709acd22295fb57597a.tar.bz2 rails-b2fb1d3381027176505e8709acd22295fb57597a.zip |
postgresql visitor is working
Diffstat (limited to 'test/visitors/test_to_sql.rb')
-rw-r--r-- | test/visitors/test_to_sql.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |