Closed tombruijn closed 2 months ago
Instead of defining constants and manually removing them with remove_const use the built-in RSpec helper stub_const. This will prevent constants from leaking into other specs.
remove_const
stub_const
[skip review] [skip changeset]
Part of #299
Instead of defining constants and manually removing them with
remove_const
use the built-in RSpec helperstub_const
. This will prevent constants from leaking into other specs.[skip review] [skip changeset]
Part of #299