Skip to content

Commit

Permalink
test: stub sleep in pacticipant create spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 17, 2021
1 parent 9dcede6 commit b1a8933
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/lib/pact_broker/client/pacticipants/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ module Client
module Pacticipants2
describe Create do
describe ".call" do
before do
allow_any_instance_of(PactBroker::Client::Hal::HttpClient).to receive(:sleep)
end
let(:pact_broker_client_options) { {} }
let(:broker_base_url) { "http://url" }
let(:params) { { name: 'Foo' } }
Expand Down

0 comments on commit b1a8933

Please sign in to comment.