Yeah I was trying that that but somehow it was not working for me with the score and all. 
I believe it must have been with not adding the .save in the vote_up method.
On Nov 6, 2013, at 12:45 AM, JohnnySantiagoJr wrote:

> In spec/models/link_spec.rb:
> 
> > @@ -30,6 +37,21 @@
> >  
> >        ## A hint is that you may want to leverage the after_save callback of the 
> >        ## comment method to maybe update the parent link. 
> > +
> > +      @link.comments.first.vote_up
> > +      @link.comments.first.save
> > +
> > +      comment2 = FactoryGirl.create(:comment)
> Instead of this you could have used :
> 
> comment_2 = FactoryGirl.create(:comment, link:@link)
> 
> which would have created another comment that is associated with the existing link, eliminating the need for:
> 
> @link.comments << comment2
> 
> @link.save
> 
> on lines 48 and 50 below.
> 
> —
> Reply to this email directly or view it on GitHub.
>