Sha256: 47c3fe1637db09036629ad86962c28814bdba5b22ba0a1dbf38ee44bd492343e

Contents?: true

Size: 446 Bytes

Versions: 44

Compression:

Stored size: 446 Bytes

Contents

require 'spec_helper'

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

  let(:app) { PactBroker::API }

  describe "GET" do
    before do
      ProviderStateBuilder.new.create_pact_with_hierarchy "Consumer", "1.2.3", "Provider"
      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

44 entries across 44 versions & 1 rubygems

Version Path
pact_broker-2.0.5 spec/integration/endpoints/group.rb
pact_broker-2.0.4 spec/integration/endpoints/group.rb
pact_broker-2.0.3 spec/integration/endpoints/group.rb
pact_broker-2.0.2 spec/integration/endpoints/group.rb
pact_broker-2.0.1 spec/integration/endpoints/group.rb
pact_broker-2.0.0 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.8 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.7 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.6 spec/integration/endpoints/group.rb
pact_broker-1.18.0 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.5 spec/integration/endpoints/group.rb
pact_broker-1.18.0.beta.1 spec/integration/endpoints/group.rb
pact_broker-1.17.2 spec/integration/endpoints/group.rb
pact_broker-1.17.1 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.4 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.3 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.2 spec/integration/endpoints/group.rb
pact_broker-2.0.0.beta.1 spec/integration/endpoints/group.rb
pact_broker-1.17.0 spec/integration/endpoints/group.rb
pact_broker-1.16.0 spec/integration/endpoints/group.rb