Sha256: e5a4f69a6b8d7577baf2b60c2e10017d91cf4c41b305934113391f0bdee6cfd9

Contents?: true

Size: 1.21 KB

Versions: 12

Compression:

Stored size: 1.21 KB

Contents

Pact.provider_states_for "Pact Broker Client" do

  provider_state "the pb:pacticipant-version and pb:environments relations exist in the index resource" do
    no_op
  end

  provider_state "an environment with name test exists" do
    set_up do
      TestDataBuilder.new
        .create_environment("test")
    end
  end

  provider_state "version 5556b8149bf8bac76bc30f50a8a2dd4c22c85f30 of pacticipant Foo exists with a test environment available for deployment" do
    set_up do
      TestDataBuilder.new
        .create_consumer("Foo")
        .create_consumer_version("5556b8149bf8bac76bc30f50a8a2dd4c22c85f30")
        .create_environment("test", uuid: "cb632df3-0a0d-4227-aac3-60114dd36479")
    end
  end

  provider_state "version 5556b8149bf8bac76bc30f50a8a2dd4c22c85f30 of pacticipant Foo does not exist" do
    no_op
  end

  provider_state "version 5556b8149bf8bac76bc30f50a8a2dd4c22c85f30 of pacticipant Foo exists with 2 environments that aren't test available for deployment" do
    set_up do
      TestDataBuilder.new
        .create_consumer("Foo")
        .create_consumer_version("5556b8149bf8bac76bc30f50a8a2dd4c22c85f30")
        .create_environment("prod")
        .create_environment("dev")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pact_broker-2.89.1 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.89.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.88.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.87.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.86.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.85.1 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.85.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.84.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.83.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.82.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.81.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb
pact_broker-2.80.0 spec/service_consumers/provider_states_for_pact_broker_client_2.rb