aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Lin <ww2lin@gmail.com>2014-03-24 23:42:27 -0400
committerAlex Lin <ww2lin@gmail.com>2014-03-24 23:42:27 -0400
commitc52df44784308e5d3cd608566fd9a3514ce28959 (patch)
tree4b833fd834fc082f943b9be931c91d2b6d5a81f7 /test
parent6d47c4cae51fe5fd04ef999de96f54138cae7f88 (diff)
downloadrails-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.rb2
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