Skip to content

Commit

Permalink
test: add config for verifying pacts from broker
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jun 6, 2021
1 parent 886253f commit cf6ba6e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,19 @@ def do_not_rollback? _response

app { HalRelationProxyApp.new(app_to_verify) }


# honours_pacts_from_pact_broker do
# pact_broker_base_url "https://pact-oss.pactflow.io", token: ENV["PACT_BROKER_TOKEN"]
# consumer_version_selectors [
# { branch: 'master' }
# ]
# enable_pending true
# include_wip_pacts_since "2000-01-01"
# verbose true
# end


honours_pact_with "Pact Broker Client" do
pact_uri "https://raw.githubusercontent.com/pact-foundation/pact_broker-client/master/spec/pacts/pact_broker_client-pact_broker.json"
end

end

0 comments on commit cf6ba6e

Please sign in to comment.