1. 07 4月, 2018 1 次提交
  2. 06 4月, 2018 1 次提交
    • E
      `SetupAndTeardown#teardown` should call any subsequent after_teardown: · 70fae9a4
      Edouard CHIN 提交于
        If you have a regular test that have a teardown block, and for any reason an exception get raised, ActiveSupport will not run subsequent after_teardown method provided by other module or gems.
        One of them being the ActiveRecord::TestFixtures which won't rollback the transation when the test ends making all subsequent test to be in a weird state.
      
        The default implementation of minitest is to run all teardown methods from the user's test, rescue all exceptions, run all after_teardown methods provided by libraries and finally re-raise the exception that happened in the user's teardown method.
        Rails should do the same.
      70fae9a4
  3. 05 4月, 2018 12 次提交
  4. 04 4月, 2018 15 次提交
  5. 03 4月, 2018 11 次提交