dependency-injection

Jul
31
Do not allow_any_instance_of (unless you must)

Do not allow_any_instance_of (unless you must)

The RSpec team says not to use `allow_any_instance_of`. So, why did they include it in RSpec in the first place?
2 min read