Class: RSpec::SSE::Matchers::ExactMatcher
- Inherits:
-
BaseMatcher
- Object
- BaseMatcher
- RSpec::SSE::Matchers::ExactMatcher
- Defined in:
- lib/rspec/sse/matchers.rb
Direct Known Subclasses
BeEventData, BeEventIds, BeEventTypes, BeEvents, BeReconnectionTimes
Instance Method Summary collapse
- #description ⇒ Object
-
#match_condition ⇒ Object
Match if extracted actual values exactly match expected values.
Methods inherited from BaseMatcher
#failure_message, #failure_message_when_negated, #initialize, #match_arrays, #match_items, #matches?
Constructor Details
This class inherits a constructor from RSpec::SSE::Matchers::BaseMatcher
Instance Method Details
#description ⇒ Object
343 344 345 |
# File 'lib/rspec/sse/matchers.rb', line 343 def description "exactly match #{@expected.inspect}" end |
#match_condition ⇒ Object
Match if extracted actual values exactly match expected values
338 339 340 |
# File 'lib/rspec/sse/matchers.rb', line 338 def match_condition match_arrays(extract_actual, @expected) end |