Permalink
Browse files

respond_to? has 2 args

  • Loading branch information...
1 parent 8a5ae3a commit 2d60b42f6fcfd4e5162a6abf504b3ea0d1271b6c @lest lest committed Mar 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/support/view_test_helper.rb
@@ -20,7 +20,7 @@ def method_missing(method, *args)
super unless method.to_s =~ /_path$/
end
- def respond_to?(method)
+ def respond_to?(method, include_private=false)
method.to_s =~ /_path$/ || super
end

0 comments on commit 2d60b42

Please sign in to comment.