Skip to content

Commit

Permalink
chore: add example of fail_if_no_pacts_found from pact broker
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Aug 6, 2024
1 parent b342955 commit 9e03e10
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions example/animal-service/spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@
pact_uri '../zoo-app/spec/pacts/zoo_app-animal_service.json'
end

## For pact contracts from a Pact Broker

# honours_pacts_from_pact_broker do
# pact_broker_base_url 'http://localhost:9292'
# # fail_if_no_pacts_found false # defaults to true
# end

end

0 comments on commit 9e03e10

Please sign in to comment.