diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 16:57:55 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-10 16:57:55 -0800 |
commit | 1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4 (patch) | |
tree | 917342472b80ad696d5a14a6316323f4c1b16ce7 /actionpack | |
parent | 215fa167342067675b6a6968b11111be25425a38 (diff) | |
download | rails-1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4.tar.gz rails-1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4.tar.bz2 rails-1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4.zip |
Rack: HTTPS is either 'on' or 'off' as of 9b7a0569e4067d0c23a00fc24273436e85c56d7f
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/test_request_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/test_request_test.rb b/actionpack/test/dispatch/test_request_test.rb index b2006a0d2f..5da02b2ea6 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 nil, env.delete("HTTPS") + assert_equal "off", 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") |