This project is archived and is in readonly mode.
assert_valid is deprecated in unit tests but not in functional tests
-
David Trasbo
- Assigned user set to Ryan Bigg
To "deprecate" means to schedule a piece of functionality for removal in a future version and issue a warning when its used to make people aware that they will not be able to use it sooner or later.
assert_validdoes not exist inActiveSupport::TestCasebut it's scheduled to be removed fromActionController::TestCase. This ticket can be marked as invalid. -
Ryan Bigg
- State changed from new to invalid
David's right, they'll still be available but should be raising deprecation warnings.