diff --git a/spec/lib/pact_broker/api/resources/base_resource_spec.rb b/spec/lib/pact_broker/api/resources/base_resource_spec.rb index 812abe4a0..04c4d18e5 100644 --- a/spec/lib/pact_broker/api/resources/base_resource_spec.rb +++ b/spec/lib/pact_broker/api/resources/base_resource_spec.rb @@ -4,7 +4,7 @@ module PactBroker module Api module Resources describe BaseResource do - let(:request) { double('request', uri: uri) } + let(:request) { double('request', uri: uri).as_null_object } let(:response) { double('response') } let(:uri) { URI('http://example.org/path?query') }