Skip to content

Commit

Permalink
respond_to? has 2 args
Browse files Browse the repository at this point in the history
  • Loading branch information
lest committed Mar 2, 2012
1 parent 8a5ae3a commit 2d60b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/view_test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2d60b42

Please sign in to comment.