From ab838900f8a5fac4ad251257a77ae0edf7543942 Mon Sep 17 00:00:00 2001 From: Pat Allan Date: Mon, 13 Feb 2012 21:37:07 +1300 Subject: SSL should not be disabled by default in any environment. --- actionpack/test/controller/force_ssl_test.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/force_ssl_test.rb b/actionpack/test/controller/force_ssl_test.rb index b681a19fe0..7feeda25b3 100644 --- a/actionpack/test/controller/force_ssl_test.rb +++ b/actionpack/test/controller/force_ssl_test.rb @@ -109,20 +109,6 @@ class ForceSSLExceptActionTest < ActionController::TestCase end end -class ForceSSLExcludeDevelopmentTest < ActionController::TestCase - tests ForceSSLControllerLevel - - def setup - Rails.env.stubs(:development?).returns(false) - end - - def test_development_environment_not_redirects_to_https - Rails.env.stubs(:development?).returns(true) - get :banana - assert_response 200 - end -end - class ForceSSLFlashTest < ActionController::TestCase tests ForceSSLFlash -- cgit v1.2.3