diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-05 16:04:43 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-05 16:12:02 -0800 |
commit | 60911c39336fea92536f78a4deb6b52535b613cd (patch) | |
tree | 0cd339fe3d0e25019e07411aa4e6bc3f8a3c44da /railties/test/metal_test.rb | |
parent | 73a36b599ae21d444d3b1f4114306a80b37ec8d4 (diff) | |
download | rails-60911c39336fea92536f78a4deb6b52535b613cd.tar.gz rails-60911c39336fea92536f78a4deb6b52535b613cd.tar.bz2 rails-60911c39336fea92536f78a4deb6b52535b613cd.zip |
Ruby 1.9: Rack apps must *always* take an env arg on 1.9
Diffstat (limited to 'railties/test/metal_test.rb')
-rw-r--r-- | railties/test/metal_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/metal_test.rb b/railties/test/metal_test.rb index 6864254e4c..2256b191e2 100644 --- a/railties/test/metal_test.rb +++ b/railties/test/metal_test.rb @@ -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) |