Created
May 16, 2014 01:15
-
-
Save uglyog/de185aad1e028fd6c614 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pact/consumer/rspec' # Require the pact rspec helper | |
Pact.service_consumer "Source System" do # register a consumer with pact | |
has_pact_with "Event API" do # register the provider that has the pact | |
mock_service :event_api do # register the mock service that will run and pretend to be the provider | |
port 1234 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment