diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-03-15 23:48:07 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-03-15 23:48:07 -0500 |
commit | 4185a4a5f5e53b55c9ba3757a837d33fb91f4091 (patch) | |
tree | ebe85b89c6e2e62b9b9ac8afa3fc67b705cf638d /actionpack | |
parent | 0706de4301bbf12a4c369bd4776ad58affee9ad4 (diff) | |
download | rails-4185a4a5f5e53b55c9ba3757a837d33fb91f4091.tar.gz rails-4185a4a5f5e53b55c9ba3757a837d33fb91f4091.tar.bz2 rails-4185a4a5f5e53b55c9ba3757a837d33fb91f4091.zip |
update rack fixture to be ruby 1.9 compat
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index 43d2307d34..e39a934c24 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -389,9 +389,9 @@ class MetalTest < ActionController::IntegrationTest class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/success/ - [200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, "Hello World!"] + [200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, ["Hello World!"]] else - [404, {"Content-Type" => "text/plain", "Content-Length" => "0"}, ''] + [404, {"Content-Type" => "text/plain", "Content-Length" => "0"}, []] end end end |