Top Level Namespace
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#cache_messages_for_matcher(matcher, actual) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/rspec-matchers-matchers/matchers.rb', line 2 def (matcher, actual) matcher.instance_variable_set('@actual', actual) RSpec::Matchers::Custom::MatchersHelper.(matcher, :failure_message_for_should) RSpec::Matchers::Custom::MatchersHelper.(matcher, :failure_message_for_should_not) RSpec::Matchers::Custom::MatchersHelper.(matcher, :description) end |