class RSpec::Expectations::PositiveExpectationHandler
with waiting rspec matchers, it's not sufficient to just count the amount of times an expectation is handled. instead we need to dedupe and count each expectation exactly once (exluding retries)
this logic relies on trace points so it's handled in the optional expectation_debug.rb file
Public Class Methods
handle_matcher(*args)
click to toggle source
# File lib/rspec_expectation_count/rspec_expectation_count.rb, line 34 def handle_matcher(*args) ::RSpec::Expectations.update_expectation_count old_handle_matcher(*args) end
Also aliased as: old_handle_matcher