Skip to content

Commit

Permalink
Merge pull request #958 from vipulnsward/rid-custom-respond-to
Browse files Browse the repository at this point in the history
Get rid of unneeded custom respond_to? implementation  which messes with test-unit
  • Loading branch information
Zachary Scott committed Jan 21, 2015
2 parents 5f6168b + 7a66897 commit a9f89b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/helper.rb
Expand Up @@ -116,11 +116,6 @@ def method_missing(name, *args, &block)
super
end

# Also check response since we delegate there.
def respond_to?(symbol, include_private=false)
super || (response && response.respond_to?(symbol, include_private))
end

# Do not output warnings for the duration of the block.
def silence_warnings
$VERBOSE, v = nil, $VERBOSE
Expand Down

0 comments on commit a9f89b7

Please sign in to comment.