Sha256: a2737b0949fb66dcc7d48c2edcf7b6515c2e89fe9325e1841c905edee464663c
Contents?: true
Size: 665 Bytes
Versions: 84
Compression:
Stored size: 665 Bytes
Contents
RSpec.describe "Get triggered webhooks for verification" do before do td.create_pact_with_hierarchy .create_verification_webhook .create_verification .create_triggered_webhook .create_webhook_execution end let(:td) { TestDataBuilder.new } let(:path) { PactBroker::Api::PactBrokerUrls.verification_triggered_webhooks_url(td.verification) } let(:json_response_body) { JSON.parse(subject.body) } subject { get(path); last_response } it { is_expected.to be_a_hal_json_success_response } it "contains a list of triggered webhooks" do expect(json_response_body['_embedded']['triggeredWebhooks'].size).to be 1 end end
Version data entries
84 entries across 84 versions & 1 rubygems