diff --git a/test/functional/contact_controller_test.rb b/test/functional/contact_controller_test.rb index bcea29f..f995395 100644 --- a/test/functional/contact_controller_test.rb +++ b/test/functional/contact_controller_test.rb @@ -131,7 +131,7 @@ class ContactControllerTest < ActionController::TestCase post :new, :profile => community.identifier assert_response :forbidden - assert_template :access_denied + assert_template :private_profile end should 'not show send e-mail page to non members of invisible community' do diff --git a/test/functional/events_controller_test.rb b/test/functional/events_controller_test.rb index 3bf51d7..da0b169 100644 --- a/test/functional/events_controller_test.rb +++ b/test/functional/events_controller_test.rb @@ -60,7 +60,7 @@ class EventsControllerTest < ActionController::TestCase post :events, :profile => community.identifier assert_response :forbidden - assert_template :access_denied + assert_template :private_profile end should 'not show events page to non members of invisible community' do -- libgit2 0.21.2