Commit 225bf66ea33bbfe483a0412a9dbc8db54414e6b8
1 parent
61af39c0
Exists in
master
and in
29 other branches
Fix person notification for actions with comments
(ActionItem2694)
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/person_notifier/mailer/_profile_comments.rhtml
test/unit/person_notifier_test.rb
... | ... | @@ -147,7 +147,7 @@ class PersonNotifierTest < ActiveSupport::TestCase |
147 | 147 | action.stubs(:created_at).returns(DateTime.now) |
148 | 148 | action.stubs(:target).returns(fast_create(Forum)) |
149 | 149 | action.stubs(:comments_count).returns(0) |
150 | - action.stubs(:comments_as_thread).returns([]) | |
150 | + action.stubs(:comments).returns([]) | |
151 | 151 | action.stubs(:params).returns({'name' => 'home', 'url' => '/', 'lead' => ''}) |
152 | 152 | action.stubs(:get_url).returns('') |
153 | 153 | ... | ... |