mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Ruby 1.9: Rack apps must *always* take an env arg on 1.9
This commit is contained in:
@@ -85,7 +85,7 @@ class MetalTest < Test::Unit::TestCase
|
||||
private
|
||||
|
||||
def app
|
||||
lambda{[402,{},["End of the Line"]]}
|
||||
lambda{|env|[402,{},["End of the Line"]]}
|
||||
end
|
||||
|
||||
def use_appdir(root)
|
||||
|
||||
Reference in New Issue
Block a user