- 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, :status => "closed"), :visible?
+ assert_not create(:note, :status => "hidden").visible?