Sha256: 61b734be75a2ee07d664154d2bfb55a0f8664cc3541061a40c63c43759a352fb
Contents?: true
Size: 625 Bytes
Versions: 63
Compression:
Stored size: 625 Bytes
Contents
require 'pact_broker/webhooks/execution_configuration' module PactBroker module Webhooks describe ExecutionConfiguration do subject { ExecutionConfiguration.new } it "returns a new object with the updated value" do expect(subject.with_show_response(true)[:logging_options][:show_response]).to eq true expect(subject.with_show_response(false)[:logging_options][:show_response]).to eq false end it "deep merges webhook context" do expect(subject.with_webhook_context(a: 1, b: 1).with_webhook_context(b: 2)[:webhook_context]).to eq a: 1, b: 2 end end end end
Version data entries
63 entries across 63 versions & 1 rubygems