module Pact::RSpec::Matchers

Public Instance Methods

match_header(header_name, expected) click to toggle source
# File lib/pact/provider/rspec/matchers.rb, line 75
def match_header header_name, expected
  MatchHeader.new(header_name, expected)
end
match_term(expected, options, example) click to toggle source
# File lib/pact/provider/rspec/matchers.rb, line 51
def match_term expected, options, example
  MatchTerm.new(expected, options.fetch(:with), options.fetch(:diff_formatter), example)
end