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