spec/dotenv/environment_spec.rb in dotenv-0.11.1 vs spec/dotenv/environment_spec.rb in dotenv-1.0.0
- old
+ new
@@ -29,10 +29,10 @@
end
end
describe 'apply!' do
it 'sets variables in the ENV' do
- subject.apply
+ subject.apply!
expect(ENV['OPTION_A']).to eq('1')
end
it 'overrides defined variables' do
ENV['OPTION_A'] = 'predefined'