mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix another rack SPEC violation
This commit is contained in:
parent
7401c4a1e9
commit
27902c7e96
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue