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.75.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.74.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.74.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.73.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.72.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.71.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.70.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.69.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.68.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.68.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.67.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.66.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.65.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.64.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.63.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.62.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.61.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.60.1 spec/integration/endpoints/group_spec.rb
pact_broker-2.60.0 spec/integration/endpoints/group_spec.rb
pact_broker-2.59.2 spec/integration/endpoints/group_spec.rb