Skip to content

Instantly share code, notes, and snippets.

@MacoTasu MacoTasu/sample.rb

Created Dec 18, 2017
Embed
What would you like to do?
pact consumer sample code
require 'pact/consumer/rspec'
Pact.service_consumer "client" do
has_pact_with "microservice" do
mock_service :microservice do
port 3001 # 適当なポート
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.