pact-ruby
pact-ruby copied to clipboard
Message for duplicate interaction should specify that the headers/body/path are differerent
RuntimeError:
Interaction with same description (a request retrieve a committed revenue sync) and provider state (a committed-revenue-sync exists with ID 123) already exists
Duplicate description/provider state is allowed so long as the entire interaction itself is identical.
Suggested new message:
An interaction with same description (a request retrieve a committed revenue sync) and provider state (a committed-revenue-sync exists with ID 123) has already been used, however, its has different request and/or response details. Please use a new description or provider state.