diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-03-15 23:21:29 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-03-15 23:21:29 -0500 |
commit | 5a575bb99293837533dc357da891dac29a702616 (patch) | |
tree | 4939b498570c6f2812d4db4d9eb7de0af351a633 /railties/test/fixtures/metal/subfolders/app | |
parent | 367049cae69ec535e7105b35f4877167adca1188 (diff) | |
download | rails-5a575bb99293837533dc357da891dac29a702616.tar.gz rails-5a575bb99293837533dc357da891dac29a702616.tar.bz2 rails-5a575bb99293837533dc357da891dac29a702616.zip |
update metal fixtures to be ruby 1.9 compat
Diffstat (limited to 'railties/test/fixtures/metal/subfolders/app')
-rw-r--r-- | railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb | 2 | ||||
-rw-r--r-- | railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb index 71a5a62eb8..25b3bb0abc 100644 --- a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb +++ b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb @@ -1,7 +1,7 @@ module Folder class MetalA < Rails::Rack::Metal def self.call(env) - [200, { "Content-Type" => "text/html"}, "Hi"] + [200, { "Content-Type" => "text/html"}, ["Hi"]] end end end diff --git a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb index 430d7bfed6..7583363f71 100644 --- a/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb +++ b/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb @@ -1,7 +1,7 @@ module Folder class MetalB < Rails::Rack::Metal def self.call(env) - [200, { "Content-Type" => "text/html"}, "Hi"] + [200, { "Content-Type" => "text/html"}, ["Hi"]] end end end |