Skip to content

Commit

Permalink
test: allow request.env to be called
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 26, 2019
1 parent 67962f3 commit 85d4853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/pact_broker/api/resources/base_resource_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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') }

Expand Down

0 comments on commit 85d4853

Please sign in to comment.