mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 05:29:31 -04:00
Update reply notifications
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user