From 76e58af4c133884d6dcc393022ff5d4ee070ef7b Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 8 Dec 2011 20:53:39 -0200 Subject: [PATCH] Remove test that does not apply anymore --- test/functional/my_profile_controller_test.rb | 10 ---------- 1 file changed, 0 insertions(+), 10 deletions(-) diff --git a/test/functional/my_profile_controller_test.rb b/test/functional/my_profile_controller_test.rb index e68ae70..18561a9 100644 --- a/test/functional/my_profile_controller_test.rb +++ b/test/functional/my_profile_controller_test.rb @@ -49,14 +49,4 @@ class MyProfileControllerTest < ActionController::TestCase assert_response 403 # forbidden end - should 'require ssl' do - Environment.default.update_attribute(:enable_ssl, true) - @controller = OnlyForPersonTestController.new - org = Organization.create!(:identifier => 'hacking_institute', :name => 'Hacking Institute') - - @request.expects(:ssl?).returns(false).at_least_once - get :index, :profile => 'hacking_institute' - assert_redirected_to :protocol => 'https://' - end - end -- libgit2 0.21.2