features/support/rails.rb in airbrake-3.1.0 vs features/support/rails.rb in airbrake-3.1.1
- old
+ new
@@ -118,10 +118,10 @@
request_script = <<-SCRIPT
require File.expand_path('../config/environment', __FILE__)
env = Rack::MockRequest.env_for(#{uri.inspect})
- response = RailsRoot::Application.call(env).last
+ response = RailsRoot::Application.call(env)
if response.is_a?(Array)
puts response.join
else
puts response.body