Sha256: bb40eba19c9472fbb8aaf704be87f5bb244fab347c54cb56827b6fae29868c92

Contents?: true

Size: 436 Bytes

Versions: 114

Compression:

Stored size: 436 Bytes

Contents

describe "/groups/{pacticipant-name}" do

  let(:app) { PactBroker::API }

  describe "GET" do
    before do
      TestDataBuilder.new.create_pact_with_hierarchy("Consumer", "1.2.3", "Provider").and_return(:pact)
      get "/groups/Consumer"
    end

    it "returns a success response" do
      expect(last_response.status).to eq 200
    end

    it "returns a body" do
      expect(last_response.body).to_not be_nil
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
pact_broker-2.19.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.19.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.18.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.17.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.17.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.16.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.16.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.15.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.14.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.13.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.13.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.12.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.11.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.10.0 spec/integration/endpoints/group_spec.rb