Skip to content

Commit

Permalink
Merge branch 'next' into cawllec/update-rake
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed May 11, 2018
2 parents 4847c67 + 53f8443 commit bc59e94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/integrations/rack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
before do
unless defined?(::Rack)
@mocked_rack = true
class ::Rack
class ::Request
class Rack
class Request
end
end
end
Expand Down Expand Up @@ -94,7 +94,7 @@ class ::Request
:referer => "referer",
:fullpath => "/TEST_PATH"
)
expect(::Rack::Request).to receive(:new).with(rack_env).and_return(rack_request)
expect(Rack::Request).to receive(:new).with(rack_env).and_return(rack_request)

report = double("Bugsnag::Report")
allow(report).to receive(:request_data).and_return({
Expand Down

0 comments on commit bc59e94

Please sign in to comment.