mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rack: HTTPS is either 'on' or 'off' as of 9b7a0569e4067d0c23a00fc24273436e85c56d7f
This commit is contained in:
parent
215fa16734
commit
1ac8e0662f
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue