FIX: don't notify on link reflections

This commit is contained in:
Sam
2014-07-29 15:40:05 +10:00
parent b2e29526ff
commit 5d9eefbfed
2 changed files with 6 additions and 1 deletions

View File

@@ -44,6 +44,11 @@ describe PostAlerter do
user.reload
user.notifications.count.should == 1
# don't notify on reflection
post1.reload
PostAlerter.new.extract_linked_users(post1).length.should == 0
end
end