Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hack into descendants tracker in specs
Active Support features its own class hierarchy tracker, which was preventing anonymous classes from being garbage collected due to a bug, which has been fixed in Rails 6.0. For older Rails version, a hack is needed to make tests independent from each other. For Rails 6+, this hack no longer works, but is also unnecessary. Although another workaround is needed. See comment in the Ruby changeset for details.
- Loading branch information