Class: RSpec::Expectations::NegativeExpectationHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec_expectation_count/rspec_expectation_count.rb

Class Method Summary collapse

Class Method Details

.handle_matcher(*args) ⇒ Object



45
46
47
48
# File 'lib/rspec_expectation_count/rspec_expectation_count.rb', line 45

def handle_matcher(*args)
  ::RSpec::Expectations.update_expectation_count
  old_handle_matcher(*args)
end

.old_handle_matcherObject



43
# File 'lib/rspec_expectation_count/rspec_expectation_count.rb', line 43

alias_method :old_handle_matcher, :handle_matcher