Commit b94f0b047c43a889ee67321e3671dbe37c6c1ef4

Authored by Antonio Terceiro
Committed by Victor Costa
1 parent 944e57b3

Fix functional tests related to private profiles

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
... ...