diff --git a/example/animal-service/spec/service_consumers/pact_helper.rb b/example/animal-service/spec/service_consumers/pact_helper.rb index fd4824c6..c066751e 100644 --- a/example/animal-service/spec/service_consumers/pact_helper.rb +++ b/example/animal-service/spec/service_consumers/pact_helper.rb @@ -1,6 +1,6 @@ require 'pact/provider/rspec' -require "./spec/service_consumers/provider_states_for_zoo_app" +require_relative "./provider_states_for_zoo_app" Pact.service_provider 'Animal Service' do @@ -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