Commit 064df3e07b868c551ac6092742f4f46bf69810c6
1 parent
c5f44fc6
Exists in
fix_sign_up_form
private-scrap: fix functional test
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
test/functional/profile_controller_test.rb
... | ... | @@ -2089,6 +2089,8 @@ class ProfileControllerTest < ActionController::TestCase |
2089 | 2089 | ProfileFollower.create!(:profile => p3, :circle => c1) |
2090 | 2090 | |
2091 | 2091 | entries = "Circle_#{c1.id},Person_#{p1.id},Person_#{p2.id}" |
2092 | + @controller.stubs(:profile).returns(@profile) | |
2093 | + @controller.stubs(:user).returns(@profile) | |
2092 | 2094 | marked_people = @controller.send(:treat_followed_entries, entries) |
2093 | 2095 | |
2094 | 2096 | assert_equivalent [p1,p2,p3], marked_people | ... | ... |