Sha256: 717a7e656c1366370854538f0e9bda88648a7114cb83f23f9c537e82f76d8c91

Contents?: true

Size: 458 Bytes

Versions: 77

Compression:

Stored size: 458 Bytes

Contents

describe "retrieving a pact" do
  subject { get path; last_response  }

  context "when differing case is used in the consumer and provider names" do
    let(:td) { TestDataBuilder.new }
    let(:pact) { td.create_pact_with_hierarchy("Foo", "1", "Bar").and_return(:pact) }
    let!(:path) { "/pacts/provider/Bar/consumer/Foo/pact-version/#{pact.pact_version_sha}" }

    it "returns a 200 Success" do
      expect(subject.status).to be 200
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
pact_broker-2.71.0 spec/features/get_pact_version.rb
pact_broker-2.70.0 spec/features/get_pact_version.rb
pact_broker-2.69.0 spec/features/get_pact_version.rb
pact_broker-2.68.1 spec/features/get_pact_version.rb
pact_broker-2.68.0 spec/features/get_pact_version.rb
pact_broker-2.67.0 spec/features/get_pact_version.rb
pact_broker-2.66.0 spec/features/get_pact_version.rb
pact_broker-2.65.0 spec/features/get_pact_version.rb
pact_broker-2.64.0 spec/features/get_pact_version.rb
pact_broker-2.63.0 spec/features/get_pact_version.rb
pact_broker-2.62.0 spec/features/get_pact_version.rb
pact_broker-2.61.0 spec/features/get_pact_version.rb
pact_broker-2.60.1 spec/features/get_pact_version.rb
pact_broker-2.60.0 spec/features/get_pact_version.rb
pact_broker-2.59.2 spec/features/get_pact_version.rb
pact_broker-2.59.1 spec/features/get_pact_version.rb
pact_broker-2.59.0 spec/features/get_pact_version.rb
pact_broker-2.58.3 spec/features/get_pact_version.rb
pact_broker-2.58.2 spec/features/get_pact_version.rb
pact_broker-2.58.0 spec/features/get_pact_version.rb