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 85d4853 commit 3b6f33c
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 @@ -25,7 +25,7 @@ module Resources

ALL_RESOURCES.each do | resource |
describe resource do
let(:request) { double('request', uri: URI("http://example.org")) }
let(:request) { double('request', uri: URI("http://example.org")).as_null_object }
let(:response) { double('response') }

it "includes OPTIONS in the list of allowed_methods" do
Expand Down

0 comments on commit 3b6f33c

Please sign in to comment.