icy-arctic-fox / spectator

Feature-rich testing framework for Crystal inspired by RSpec.
https://gitlab.com/arctic-fox/spectator
MIT License
103 stars 5 forks source link

Add RSpec's stub_const #40

Open postmodern opened 3 years ago

postmodern commented 3 years ago

It would be useful to have RSpec's stub_const method, which would allow for stubbing ENV.