diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/visitors/test_to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index b6d91046b8..4ed1f225ce 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -23,7 +23,7 @@ module Arel it 'can define a dispatch method' do visited = false - viz = Class.new(Arel::Visitors::Visitor) { + viz = Class.new(Arel::Visitors::Reduce) { define_method(:hello) do |node, c| visited = true end |