Commit 15c3bd99 authored by Stan Hu's avatar Stan Hu

Ensure StubEnv class variable is cleared between test runs

parent be71608c
......@@ -5,3 +5,9 @@ module StubENV
allow(ENV).to receive(:[]).with(key).and_return(value)
end
end
RSpec.configure do |config|
config.after(:each) do
@env_already_stubbed = nil
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment