Module: RSpec::EnrichedJson::PositiveHandlerWrapper

Includes:
HandlerWrapperShared
Defined in:
lib/rspec/enriched_json/expectation_helper_wrapper.rb

Instance Method Summary collapse

Methods included from HandlerWrapperShared

#capture_test_values, #mark_as_passed

Instance Method Details

#handle_matcher(actual, initial_matcher, custom_message = nil, &block) ⇒ Object



191
192
193
194
195
196
# File 'lib/rspec/enriched_json/expectation_helper_wrapper.rb', line 191

def handle_matcher(actual, initial_matcher, custom_message = nil, &block)
  capture_test_values(actual, initial_matcher, negated: false)
  result = super
  mark_as_passed(initial_matcher)
  result
end