- assert_equal true, users(:inactive_user).visible?
- assert_equal true, users(:normal_user).visible?
- assert_equal true, users(:confirmed_user).visible?
- assert_equal false, users(:suspended_user).visible?
- assert_equal false, users(:deleted_user).visible?
+ assert_equal true, build(:user, :pending).visible?
+ assert_equal true, build(:user, :active).visible?
+ assert_equal true, build(:user, :confirmed).visible?
+ assert_equal false, build(:user, :suspended).visible?
+ assert_equal false, build(:user, :deleted).visible?