diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2017-12-27 11:33:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 11:33:08 -0800 |
commit | bb0e60f40c1aa38096122c4a4836c8db6bf56ff9 (patch) | |
tree | cdbf21b644d22758244a273805a3dd3a674ddd89 /test | |
parent | aa11ad9129b65e637c05cc4b26a2cbbff6f143c2 (diff) | |
parent | c41c909decde88156215e07e5d1d52898a3d5aa4 (diff) | |
download | rails-bb0e60f40c1aa38096122c4a4836c8db6bf56ff9.tar.gz rails-bb0e60f40c1aa38096122c4a4836c8db6bf56ff9.tar.bz2 rails-bb0e60f40c1aa38096122c4a4836c8db6bf56ff9.zip |
Merge pull request #512 from itsNikolay/reduce_Reduce
Reduce `Reduce`
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 e95c0666b4..eb6eedc55d 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -31,7 +31,7 @@ module Arel it 'can define a dispatch method' do visited = false - viz = Class.new(Arel::Visitors::Reduce) { + viz = Class.new(Arel::Visitors::Visitor) { define_method(:hello) do |node, c| visited = true end |