Skip to content

Commit

Permalink
WIP: Attempt to deal with double-teardown in acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Mar 27, 2018
1 parent f0f8e58 commit 1da71b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/mocha/mockery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ def method_missing(method_name, *args, &block)
def respond_to_missing?(method_name, include_private = false)
(method != :raise) || super
end

# No ops - just to make acceptance tests pass
def verify(*args); end
def teardown; end
attr_writer :logger
end

class << self
Expand Down

0 comments on commit 1da71b9

Please sign in to comment.