Sha256: 3d5d535bfbcda1ade6a1dd3af93aa8d50eee6087b105ab778f5577ad61722e5c
Contents?: true
Size: 553 Bytes
Versions: 11
Compression:
Stored size: 553 Bytes
Contents
describe "Get integrations dot file" do before do td.create_pact_with_hierarchy("Foo", "1", "Bar") .create_verification(provider_version: "2") 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
11 entries across 11 versions & 1 rubygems