Sha256: b98c91b9b95d92449be721dc07340ad851242f2a53394397bc48f66ab8c16762
Contents?: true
Size: 725 Bytes
Versions: 112
Compression:
Stored size: 725 Bytes
Contents
require 'pact_broker/api/resources/triggered_webhook_logs' module PactBroker module Api module Resources describe TriggeredWebhookLogs do let(:td) { TestDataBuilder.new } before do td.create_pact_with_hierarchy .create_webhook(uuid: "5432") .create_triggered_webhook(trigger_uuid: "1234") .create_webhook_execution(logs: "foo") .create_webhook_execution(logs: "bar") end let(:path) { "/webhooks/5432/trigger/1234/logs" } subject { get path; last_response } it "returns the concatenated webhook execution logs" do expect(subject.body).to eq "foo\nbar" end end end end end
Version data entries
112 entries across 112 versions & 1 rubygems