Commit graph

3 commits

Author SHA1 Message Date
Rémy Coutable
8f13c1ebd9
Use a slightly cleaner approach to stub ENV
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-28 11:18:09 +02:00
Stan Hu
1a47bd37a1 Reset the state of StubENV's @env_already_stubbed after each spec run
In certain combination of tests, @env_already_stubbed could be set
to `true` even though it never ran for that specific test.
2017-06-26 08:13:46 -07:00
Adam Niedzielski
a8177e03e5 Introduce "stub_env" test helper for safely stubbing environment variables 2017-01-09 18:19:48 +01:00