- assert_equal true, create(:note, :status => "open").visible?
- assert_equal true, create(:note, :status => "closed").visible?
- assert_equal false, create(:note, :status => "hidden").visible?
+ assert_predicate create(:note, :status => "open"), :visible?
+ assert_predicate create(:note, :closed), :visible?
+ assert_not_predicate create(:note, :status => "hidden"), :visible?