spec/support/pact_helper.rb in pact-1.0.39 vs spec/support/pact_helper.rb in pact-1.1.0.rc1

- old
+ new

@@ -26,27 +26,24 @@ honours_pact_with 'some-test-consumer' do pact_uri './spec/support/test_app_pass.json' end end - Pact.set_up do - WEATHER ||= {} - end #one with a top level consumer Pact.provider_states_for 'some-test-consumer' do - provider_state "the weather is sunny" do set_up do - + WEATHER ||= {} WEATHER[:current_state] = 'sunny' end end end #one without a top level consumer Pact.provider_state "the weather is cloudy" do set_up do + WEATHER ||= {} WEATHER[:current_state] = 'cloudy' end end end end