HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Add a repair_helper to repair changes to the validations inside valid…
…ations_test.rb [#674 state:resolved] 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 <firstname.lastname@example.org>
- Loading branch information...
Showing with 195 additions and 160 deletions.