diff options
author | Alex Lin <ww2lin@gmail.com> | 2014-03-24 23:42:27 -0400 |
---|---|---|
committer | Alex Lin <ww2lin@gmail.com> | 2014-03-24 23:42:27 -0400 |
commit | c52df44784308e5d3cd608566fd9a3514ce28959 (patch) | |
tree | 4b833fd834fc082f943b9be931c91d2b6d5a81f7 /test | |
parent | 6d47c4cae51fe5fd04ef999de96f54138cae7f88 (diff) | |
download | rails-c52df44784308e5d3cd608566fd9a3514ce28959.tar.gz rails-c52df44784308e5d3cd608566fd9a3514ce28959.tar.bz2 rails-c52df44784308e5d3cd608566fd9a3514ce28959.zip |
Removed all the fiels in lib/arel/visitors/ which needs dependency on 'a' also fixed the test case for : test/visitors/test_to_sql.rb:22 which pass in the parameter attribute e.g the parameter a.
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 161a4e1b9e..b142ecd695 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -19,7 +19,7 @@ module Arel it 'can define a dispatch method' do visited = false viz = Class.new(Arel::Visitors::Visitor) { - define_method(:hello) do |node, attribute| + define_method(:hello) do |node| visited = true end |