pact-ruby icon indicating copy to clipboard operation
pact-ruby copied to clipboard

Message for duplicate interaction should specify that the headers/body/path are differerent

Open bethesque opened this issue 10 years ago • 0 comments

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.

bethesque avatar May 07 '14 01:05 bethesque