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.57.0 spec/features/get_pact_version.rb
pact_broker-2.56.1 spec/features/get_pact_version.rb
pact_broker-2.56.0 spec/features/get_pact_version.rb
pact_broker-2.55.0 spec/features/get_pact_version.rb
pact_broker-2.54.0 spec/features/get_pact_version.rb
pact_broker-2.53.0 spec/features/get_pact_version.rb
pact_broker-2.52.2 spec/features/get_pact_version.rb
pact_broker-2.52.1 spec/features/get_pact_version.rb
pact_broker-2.52.0 spec/features/get_pact_version.rb
pact_broker-2.51.0 spec/features/get_pact_version.rb
pact_broker-2.50.1 spec/features/get_pact_version.rb
pact_broker-2.50.0 spec/features/get_pact_version.rb
pact_broker-2.49.0 spec/features/get_pact_version.rb
pact_broker-2.48.0 spec/features/get_pact_version.rb
pact_broker-2.47.1 spec/features/get_pact_version.rb
pact_broker-2.47.0 spec/features/get_pact_version.rb
pact_broker-2.46.0 spec/features/get_pact_version.rb
pact_broker-2.45.0 spec/features/get_pact_version.rb
pact_broker-2.44.0 spec/features/get_pact_version.rb
pact_broker-2.43.0 spec/features/get_pact_version.rb