Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [b5cf2b4b82de877c07bb2cca02085d2b3ec195e0] by Jamis Buck

Revision b5cf2b4b82de877c07bb2cca02085d2b3ec195e0, committed by Jamis Buck · January 19th, 2011 @ 05:12 PM

scrub instance variables from test cases on teardown

this prevents test state from accumulating, resulting in leaked
objects and slow tests due to overactive GC.
https://github.com/rails/rails/commit/b5cf2b4b82de877c07bb2cca02085...

4 changed files

  • A activesupport/lib/active_support/testing/garbage_collection.rb
  • M activesupport/lib/active_support/test_case.rb
  • M activesupport/test/test_case_test.rb
  • M activesupport/test/test_test.rb