Commit 577ce21bd765fbd957c0aeaba265bad400734477
Exists in
master
and in
29 other branches
Merge remote-tracking branch 'origin/master'
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 | ... | ... |