From b2bf144704a178c8f8653eba8ecd03aaa453335b Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Fri, 28 May 2021 15:17:29 +1000 Subject: [PATCH] test: add provider state --- .../provider_states_for_pact_broker_client.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/service_consumers/provider_states_for_pact_broker_client.rb b/spec/service_consumers/provider_states_for_pact_broker_client.rb index 24547c2b6..f076073d4 100644 --- a/spec/service_consumers/provider_states_for_pact_broker_client.rb +++ b/spec/service_consumers/provider_states_for_pact_broker_client.rb @@ -295,4 +295,10 @@ .create_verification(provider_version: "4.5.6", success: false) end end + + provider_state "an environment exists" do + set_up do + TestDataBuilder.new.create_environment("test", contacts: [ { name: "foo", details: { emailAddress: "foo@bar.com" } }]) + end + end end