- assert_equal true, notes(:open_note).visible?
- assert_equal true, notes(:note_with_hidden_comment).visible?
- assert_equal false, notes(:hidden_note_with_comment).visible?
+ assert_equal true, create(:note, :status => "open").visible?
+ assert_equal true, create(:note, :status => "closed").visible?
+ assert_equal false, create(:note, :status => "hidden").visible?