mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8a92cdc863
Many of the tests in validations_test would add a new validation to models. However, only Topic was being reset with a fairly aggressive clearing of all validations. None of the other models being used however were recieving the same treatment. Now we use repair_validations(Topic) for the whole test case because most test cases use Topic and then the block form of repair_validations(<other_models>) inside any tests that use other models. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
cases | ||
connections | ||
fixtures | ||
migrations | ||
models | ||
schema | ||
config.rb |