- closed_note = create(:note_with_comments, :status => "closed", :closed_at => Time.now.utc, :comments_count => 2) do |note|
- create(:note_comment, :event => "closed", :note => note, :author => user)
- end
+ closed_note = create(:note_with_comments, :closed, :closed_by => user, :comments_count => 2)