From 9e03e10e7fe50bd0c238aec2a242aeefe5b4c5d2 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Tue, 6 Aug 2024 22:52:36 +0100 Subject: [PATCH] chore: add example of fail_if_no_pacts_found from pact broker --- .../animal-service/spec/service_consumers/pact_helper.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/example/animal-service/spec/service_consumers/pact_helper.rb b/example/animal-service/spec/service_consumers/pact_helper.rb index fd4824c6..da2d2080 100644 --- a/example/animal-service/spec/service_consumers/pact_helper.rb +++ b/example/animal-service/spec/service_consumers/pact_helper.rb @@ -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