Skip to content
  • Zuhao Wan's avatar
    9ffeb362
    Run ActiveModel test suites in random order. · 9ffeb362
    Zuhao Wan authored
    This gets the whole ActiveModel test suites working even if
    `self.i_suck_and_my_tests_are_order_dependent!` is disabled
    in `ActiveSupport::TestCase`.
    
    Two places are found that potentially leak global state. This patch
    makes sure states are restored so that none of the changes happen in
    a single test will be carried over to subsequence tests.
    9ffeb362
    Run ActiveModel test suites in random order.
    Zuhao Wan authored
    This gets the whole ActiveModel test suites working even if
    `self.i_suck_and_my_tests_are_order_dependent!` is disabled
    in `ActiveSupport::TestCase`.
    
    Two places are found that potentially leak global state. This patch
    makes sure states are restored so that none of the changes happen in
    a single test will be carried over to subsequence tests.
Loading