diff --git a/app/views/person_notifier/mailer/_profile_comments.rhtml b/app/views/person_notifier/mailer/_profile_comments.rhtml index 0f1333e..1988c29 100644 --- a/app/views/person_notifier/mailer/_profile_comments.rhtml +++ b/app/views/person_notifier/mailer/_profile_comments.rhtml @@ -8,6 +8,6 @@ <% else %> <% end %> diff --git a/test/unit/person_notifier_test.rb b/test/unit/person_notifier_test.rb index 491ac07..4def2d5 100644 --- a/test/unit/person_notifier_test.rb +++ b/test/unit/person_notifier_test.rb @@ -147,7 +147,7 @@ class PersonNotifierTest < ActiveSupport::TestCase action.stubs(:created_at).returns(DateTime.now) action.stubs(:target).returns(fast_create(Forum)) action.stubs(:comments_count).returns(0) - action.stubs(:comments_as_thread).returns([]) + action.stubs(:comments).returns([]) action.stubs(:params).returns({'name' => 'home', 'url' => '/', 'lead' => ''}) action.stubs(:get_url).returns('') -- libgit2 0.21.2