- old_closed_note = create(:note, :status => "closed", :closed_at => Time.now - 5.days)
- very_old_closed_note = create(:note, :status => "closed", :closed_at => Time.now - 100.days)
- hidden_note = create(:note, :status => "hidden")
- open_note = create(:note)
- create(:note_comment, :note => old_closed_note)
- create(:note_comment, :note => very_old_closed_note)
- create(:note_comment, :note => hidden_note)
- create(:note_comment, :note => open_note)
+ create(:note_with_comments, :status => "closed", :closed_at => Time.now - 5.days)
+ create(:note_with_comments, :status => "closed", :closed_at => Time.now - 100.days)
+ create(:note_with_comments, :status => "hidden")
+ create(:note_with_comments)