Sha256: d4427fa11447e5bb0a17b980e32c42615b4a16aa2138e6aeda6b2535e6cca8a1

Contents?: true

Size: 527 Bytes

Versions: 66

Compression:

Stored size: 527 Bytes

Contents

describe "Get integrations dot file" do
  before do
    TestDataBuilder.new
      .create_pact_with_hierarchy("Foo", "1", "Bar")
  end

  let(:path) { "/integrations" }
  let(:response_body_hash) { JSON.parse(subject.body, symbolize_names: true) }

  subject { get path, nil, {'HTTP_ACCEPT' => 'application/hal+json' }  }

  it { is_expected.to be_a_hal_json_success_response }

  it "returns a json body with embedded integrations" do
    expect(JSON.parse(subject.body)["_embedded"]["integrations"]).to be_a(Array)
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
pact_broker-2.79.1 spec/features/get_integrations_spec.rb
pact_broker-2.79.0 spec/features/get_integrations_spec.rb
pact_broker-2.78.1 spec/features/get_integrations_spec.rb
pact_broker-2.78.0 spec/features/get_integrations_spec.rb
pact_broker-2.77.0 spec/features/get_integrations_spec.rb
pact_broker-2.76.2 spec/features/get_integrations_spec.rb
pact_broker-2.76.1 spec/features/get_integrations_spec.rb
pact_broker-2.76.0 spec/features/get_integrations_spec.rb
pact_broker-2.75.0 spec/features/get_integrations_spec.rb
pact_broker-2.74.1 spec/features/get_integrations_spec.rb
pact_broker-2.74.0 spec/features/get_integrations_spec.rb
pact_broker-2.73.0 spec/features/get_integrations_spec.rb
pact_broker-2.72.0 spec/features/get_integrations_spec.rb
pact_broker-2.71.0 spec/features/get_integrations_spec.rb
pact_broker-2.70.0 spec/features/get_integrations_spec.rb
pact_broker-2.69.0 spec/features/get_integrations_spec.rb
pact_broker-2.68.1 spec/features/get_integrations_spec.rb
pact_broker-2.68.0 spec/features/get_integrations_spec.rb
pact_broker-2.67.0 spec/features/get_integrations_spec.rb
pact_broker-2.66.0 spec/features/get_integrations_spec.rb