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.89.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.89.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.88.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.87.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.86.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.85.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.85.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.84.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.83.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.82.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.81.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.80.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.79.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.79.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.78.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.78.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.77.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.76.2 spec/integration/endpoints/group_spec.rb
pact_broker-2.76.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.76.0 spec/integration/endpoints/group_spec.rb