features/support/rails.rb in airbrake-3.1.1 vs features/support/rails.rb in airbrake-3.1.2

- old
+ new

@@ -120,9 +120,12 @@ env = Rack::MockRequest.env_for(#{uri.inspect}) response = RailsRoot::Application.call(env) + + response = response.last if response.last.is_a?(ActionDispatch::Response) + if response.is_a?(Array) puts response.join else puts response.body end