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 [1e989208ce75c3b579161a1871be8cc695a799aa] by Jamis Buck

Revision 1e989208ce75c3b579161a1871be8cc695a799aa, committed by Jamis Buck · January 19th, 2011 @ 05:42 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/1e989208ce75c3b579161a1871be8...

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