class ForceSSLApiTest

Public Instance Methods

test_redirects_to_https() click to toggle source
# File actionpack/test/controller/api/force_ssl_test.rb, line 17
def test_redirects_to_https
  get :two
  assert_response 301
  assert_equal "https://test.host/force_ssl_api/two", redirect_to_url
end