Update reply notifications

This commit is contained in:
Brenda Wallace
2019-01-04 14:14:14 +13:00
parent f638b9a5da
commit f8921d3ded
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ module NotificationsHelper
new_comment_url(post_id: notification.post.id)
else
# by default, reply link sends a PM in return
reply_notification_url(notification)
reply_notifications_url(notification)
end
end
end

View File

@@ -8,7 +8,7 @@ describe NotificationsHelper do
notification = FactoryBot.create(:notification, recipient_id: member.id, post_id: nil)
link = helper.reply_link(notification)
link.should_not be_nil
link.should eq reply_notification_url(notification)
link.should eq reply_notifications_url(notification)
end
it "replies to post comments with post comments" do