Update notification reply url in helper spec

This commit is contained in:
Brenda Wallace committed 2019-01-06 08:45:42 +13:00
1 parent 8846627096
commit 90386221bc
1 file changed
+1 -1
+1 -1
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_notifications_url(notification)
link.should eq notification_reply_url(notification)
end
it "replies to post comments with post comments" do