Sha256: f2302f6499dc6a0e0fe8367093f749554129b61a401944ffa85ab181ce5fd61b

Contents?: true

Size: 408 Bytes

Versions: 8

Compression:

Stored size: 408 Bytes

Contents

describe "Get a branch version" do
  before do
    td.create_consumer("Foo")
      .create_consumer_version("1234", branch: "main")
  end
  let(:path) { PactBroker::Api::PactBrokerUrls.branch_version_url(PactBroker::Versions::BranchVersion.first) }
  let(:headers) { { "CONTENT_TYPE" => "application/json" } }

  subject { get(path, {}, headers) }

  it { is_expected.to be_a_hal_json_success_response }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.89.1 spec/features/get_branch_version_spec.rb
pact_broker-2.89.0 spec/features/get_branch_version_spec.rb
pact_broker-2.88.0 spec/features/get_branch_version_spec.rb
pact_broker-2.87.0 spec/features/get_branch_version_spec.rb
pact_broker-2.86.0 spec/features/get_branch_version_spec.rb
pact_broker-2.85.1 spec/features/get_branch_version_spec.rb
pact_broker-2.85.0 spec/features/get_branch_version_spec.rb
pact_broker-2.84.0 spec/features/get_branch_version_spec.rb