Commit 65108142747071a27750188eb03b8c15bf003610
1 parent
5121b1f2
Exists in
master
and in
26 other branches
Fix functional tests related to private profiles
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
test/functional/contact_controller_test.rb
| ... | ... | @@ -131,7 +131,7 @@ class ContactControllerTest < ActionController::TestCase |
| 131 | 131 | post :new, :profile => community.identifier |
| 132 | 132 | |
| 133 | 133 | assert_response :forbidden |
| 134 | - assert_template :access_denied | |
| 134 | + assert_template :private_profile | |
| 135 | 135 | end |
| 136 | 136 | |
| 137 | 137 | should 'not show send e-mail page to non members of invisible community' do | ... | ... |
test/functional/events_controller_test.rb
| ... | ... | @@ -60,7 +60,7 @@ class EventsControllerTest < ActionController::TestCase |
| 60 | 60 | post :events, :profile => community.identifier |
| 61 | 61 | |
| 62 | 62 | assert_response :forbidden |
| 63 | - assert_template :access_denied | |
| 63 | + assert_template :private_profile | |
| 64 | 64 | end |
| 65 | 65 | |
| 66 | 66 | should 'not show events page to non members of invisible community' do | ... | ... |