Module: WebMock::RSpecMatcherDetector
- Included in:
- BodyPattern, URIPattern
- Defined in:
- lib/webmock/request_pattern.rb
Instance Method Summary collapse
Instance Method Details
#rSpecHashExcludingMatcher?(matcher) ⇒ Boolean
8 9 10 |
# File 'lib/webmock/request_pattern.rb', line 8 def rSpecHashExcludingMatcher?(matcher) matcher.class.name =~ /R?Spec::Mocks::ArgumentMatchers::HashExcludingMatcher/ end |
#rSpecHashIncludingMatcher?(matcher) ⇒ Boolean
4 5 6 |
# File 'lib/webmock/request_pattern.rb', line 4 def rSpecHashIncludingMatcher?(matcher) matcher.class.name =~ /R?Spec::Mocks::ArgumentMatchers::HashIncludingMatcher/ end |