comment_1 = @link.comments.first
comment_1.vote_up                         # see comments for comment.rb
       
comment_2 = FactoryGirl.create(:comment, link:@link) # create a second comment associated with the same link
2.times { comment_2.vote_up }
  
@link.score.should == 5