Permalink
Browse files

Rack: HTTPS is either 'on' or 'off' as of 9b7a0569e4067d0c23a00fc2427…

…3436e85c56d7f
  • Loading branch information...
jeremy committed Nov 11, 2009
1 parent 215fa16 commit 1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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")

0 comments on commit 1ac8e06

Please sign in to comment.