Commit c72475dd646bfca5972eed8233b699a12844638a
1 parent
d070eece
Exists in
master
and in
29 other branches
Fix test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/functional/profile_controller_test.rb
@@ -39,6 +39,7 @@ class ProfileControllerTest < ActionController::TestCase | @@ -39,6 +39,7 @@ class ProfileControllerTest < ActionController::TestCase | ||
39 | end | 39 | end |
40 | 40 | ||
41 | should 'not point to manage friends of other users' do | 41 | should 'not point to manage friends of other users' do |
42 | + create_user('ze') | ||
42 | login_as('ze') | 43 | login_as('ze') |
43 | get :friends | 44 | get :friends |
44 | assert_no_tag :tag => 'a', :attributes => { :href => '/myprofile/testuser/friends' } | 45 | assert_no_tag :tag => 'a', :attributes => { :href => '/myprofile/testuser/friends' } |