Completed spec - I think the third parameter mention_text in mention method may be a bug, because in the Notification that is created is:
:mention_text => self.comments (line 26)
which means that it is assigned whatever self.comments are independent of the argument that is passed in. That seemed to be the case when I tested it out in console.
Completed spec - I think the third parameter
mention_text
inmention
method may be a bug, because in the Notification that is created is:which means that it is assigned whatever self.comments are independent of the argument that is passed in. That seemed to be the case when I tested it out in console.