Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…3436e85c56d7f
  • Loading branch information...
commit 1ac8e0662fbf4e14570ad8ec490fd4cece15bbe4 1 parent 215fa16
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/dispatch/test_request_test.rb
View
2  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")
Please sign in to comment.
Something went wrong with that request. Please try again.