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.42.0 spec/features/get_pact_version.rb
pact_broker-2.41.0 spec/features/get_pact_version.rb
pact_broker-2.40.0 spec/features/get_pact_version.rb
pact_broker-2.39.0 spec/features/get_pact_version.rb
pact_broker-2.38.1 spec/features/get_pact_version.rb
pact_broker-2.38.0 spec/features/get_pact_version.rb
pact_broker-2.37.0 spec/features/get_pact_version.rb
pact_broker-2.36.1 spec/features/get_pact_version.rb
pact_broker-2.36.0 spec/features/get_pact_version.rb
pact_broker-2.35.0 spec/features/get_pact_version.rb
pact_broker-2.34.0 spec/features/get_pact_version.rb
pact_broker-2.33.0 spec/features/get_pact_version.rb
pact_broker-2.32.0 spec/features/get_pact_version.rb
pact_broker-2.31.0 spec/features/get_pact_version.rb
pact_broker-2.30.0 spec/features/get_pact_version.rb
pact_broker-2.29.0 spec/features/get_pact_version.rb
pact_broker-2.27.6 spec/features/get_pact_version.rb
pact_broker-2.27.5 spec/features/get_pact_version.rb
pact_broker-2.27.4 spec/features/get_pact_version.rb
pact_broker-2.27.3 spec/features/get_pact_version.rb