diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-08-31 23:08:20 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-08-31 23:08:20 -0500 |
commit | a79790e1a5733694baef3d03d8d79b76948a9d69 (patch) | |
tree | 9c6df0ceaf39700bcfa906d54c64b1621f9fb245 /actionpack/test | |
parent | 426e76ad85c060ef2fa87bc2bebfc906ea7b090e (diff) | |
download | rails-a79790e1a5733694baef3d03d8d79b76948a9d69.tar.gz rails-a79790e1a5733694baef3d03d8d79b76948a9d69.tar.bz2 rails-a79790e1a5733694baef3d03d8d79b76948a9d69.zip |
rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it instead
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/test_request_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/test_request_test.rb b/actionpack/test/dispatch/test_request_test.rb index 5da02b2ea6..b8e340e055 100644 --- a/actionpack/test/dispatch/test_request_test.rb +++ b/actionpack/test/dispatch/test_request_test.rb @@ -5,7 +5,7 @@ class TestRequestTest < ActiveSupport::TestCase env = ActionDispatch::TestRequest.new.env assert_equal "GET", env.delete("REQUEST_METHOD") - assert_equal "off", env.delete("HTTPS") + assert_equal nil, env.delete("HTTPS") assert_equal "http", env.delete("rack.url_scheme") assert_equal "example.org", env.delete("SERVER_NAME") assert_equal "80", env.delete("SERVER_PORT") @@ -18,7 +18,7 @@ class TestRequestTest < ActiveSupport::TestCase assert_equal "0.0.0.0", env.delete("REMOTE_ADDR") assert_equal "Rails Testing", env.delete("HTTP_USER_AGENT") - assert_equal [1, 0], env.delete("rack.version") + assert_equal [0, 1], env.delete("rack.version") assert_equal "", env.delete("rack.input").string assert_kind_of StringIO, env.delete("rack.errors") assert_equal true, env.delete("rack.multithread") |