Commit 76e58af4c133884d6dcc393022ff5d4ee070ef7b
1 parent
e0278fc1
Exists in
master
and in
22 other branches
Remove test that does not apply anymore
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
test/functional/my_profile_controller_test.rb
| ... | ... | @@ -49,14 +49,4 @@ class MyProfileControllerTest < ActionController::TestCase |
| 49 | 49 | assert_response 403 # forbidden |
| 50 | 50 | end |
| 51 | 51 | |
| 52 | - should 'require ssl' do | |
| 53 | - Environment.default.update_attribute(:enable_ssl, true) | |
| 54 | - @controller = OnlyForPersonTestController.new | |
| 55 | - org = Organization.create!(:identifier => 'hacking_institute', :name => 'Hacking Institute') | |
| 56 | - | |
| 57 | - @request.expects(:ssl?).returns(false).at_least_once | |
| 58 | - get :index, :profile => 'hacking_institute' | |
| 59 | - assert_redirected_to :protocol => 'https://' | |
| 60 | - end | |
| 61 | - | |
| 62 | 52 | end | ... | ... |