Sha256: 27ce0c8171afd20624c84f386b7eafaab2fb38f487c4a88253243fb0ffa1cb33

Contents?: true

Size: 543 Bytes

Versions: 90

Compression:

Stored size: 543 Bytes

Contents

require 'pact_broker/client/cli/broker'
require 'pact_broker/client/webhooks/create'

module PactBroker
  module Client
    module CLI
      describe Broker do
        describe "create_webhook" do

          let(:broker) { Broker.new }

          subject { broker.create_webhook "http://webhook" }

          it "calls PactBroker::Client::Webhooks::Create with the webhook params" do
            expect(broker).to receive(:run_webhook_commands).with("http://webhook")

            subject
          end
        end
      end
    end
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
pact_broker-client-1.28.4 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.28.3 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.28.2 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.28.1 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.28.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.28 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.27 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.26 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.25 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.24 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.23 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.22 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.21 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.20 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.19 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.14 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.13 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.12 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.11 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.27.10 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb