Sha256: 7bb019705b0361c4c4bcca5c516ab25624cf226789b4e50655e8073b8ebbce0b
Contents?: true
Size: 453 Bytes
Versions: 5
Compression:
Stored size: 453 Bytes
Contents
RSpec.shared_context "stubbed services" do let(:pact_service) { class_double("PactBroker::Pacts::Service").as_stubbed_const } let(:pacticipant_service) { class_double("PactBroker::Pacticipants::Service").as_stubbed_const } before do allow_any_instance_of(described_class).to receive(:pact_service).and_return(pact_service) allow_any_instance_of(described_class).to receive(:pacticipant_service).and_return(pacticipant_service) end end
Version data entries
5 entries across 5 versions & 1 rubygems