diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-25 17:22:52 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-25 17:22:52 -0700 |
commit | 27902c7e96de6913c237c3b0487d4beeef848689 (patch) | |
tree | 96312d93813c72a25f1fee6e442ac4d7f9ba7f81 /actionpack | |
parent | 7401c4a1e9a36db1e6d0c09ace6fa88977dfe9bc (diff) | |
download | rails-27902c7e96de6913c237c3b0487d4beeef848689.tar.gz rails-27902c7e96de6913c237c3b0487d4beeef848689.tar.bz2 rails-27902c7e96de6913c237c3b0487d4beeef848689.zip |
Fix another rack SPEC violation
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/new_base/middleware_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_base/middleware_test.rb b/actionpack/test/controller/new_base/middleware_test.rb index a30e937bb3..85a1f351f0 100644 --- a/actionpack/test/controller/new_base/middleware_test.rb +++ b/actionpack/test/controller/new_base/middleware_test.rb @@ -75,7 +75,7 @@ module MiddlewareTest test "middleware that is 'use'd is called as part of the Rack application" do result = @app.call(env_for("/")) - assert_equal ["Hello World"], result[2] + assert_equal ["Hello World"], [].tap { |a| result[2].each { |x| a << x } } assert_equal "Success", result[1]["Middleware-Test"] end |