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