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 [79a06225ef0e148eb5da541711f74163b5efb18d] by Jamis Buck

Revision 79a06225ef0e148eb5da541711f74163b5efb18d, committed by Jamis Buck · January 19th, 2011 @ 05:57 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/79a06225ef0e148eb5da541711f74...

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