Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stub_const instead of stubbing any instance
In the GarbageCollectionProfiler spec refactor the code to stub the constant directly rather than mock a private method on the GarbageCollectionProfiler class. This makes it more resilient to change and mocks the to be mocked object directly.
- Loading branch information