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.75.3 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.75.1 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.75.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.74.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.73.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.72.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.71.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.70.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.69.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.68.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.67.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.66.1 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.66.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.65.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.64.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.63.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.62.1 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.62.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.61.1 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb
pact_broker-client-1.61.0 spec/lib/pact_broker/client/cli/broker_create_webhook_spec.rb