mirror of
https://github.com/github/rails.git
synced 2026-01-24 13:58:12 -05:00
8a92cdc8638d1f91aaa55fc47743a6210ad2181b
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>
Add a repair_helper to repair changes to the validations inside validations_test.rb [#674 state:resolved]
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%