From 65108142747071a27750188eb03b8c15bf003610 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 23 Mar 2015 17:13:34 -0300 Subject: [PATCH] Fix functional tests related to private profiles --- test/functional/contact_controller_test.rb | 2 +- test/functional/events_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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