aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-05 16:04:43 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-05 16:12:02 -0800
commit60911c39336fea92536f78a4deb6b52535b613cd (patch)
tree0cd339fe3d0e25019e07411aa4e6bc3f8a3c44da /railties
parent73a36b599ae21d444d3b1f4114306a80b37ec8d4 (diff)
downloadrails-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')
-rw-r--r--railties/test/metal_test.rb2
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)