Sha256: a62b0cad31417d9daf1b13081e509f1a277a820f2d89faea02adc78ce5715a14

Contents?: true

Size: 203 Bytes

Versions: 13

Compression:

Stored size: 203 Bytes

Contents

require 'dotenv'

RSpec.configure do |config|
  # Restore the state of ENV after each spec
  config.before { @env_keys = ENV.keys }
  config.after  { ENV.delete_if { |k,v| !@env_keys.include?(k) } }
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
dotenv-1.0.2 spec/spec_helper.rb
dotenv-1.0.1 spec/spec_helper.rb
dotenv-1.0.0 spec/spec_helper.rb
dotenv-0.11.1 spec/spec_helper.rb
dotenv-0.11.0 spec/spec_helper.rb
dotenv-0.10.0 spec/spec_helper.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/dotenv-0.9.0/spec/spec_helper.rb
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/spec_helper.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/spec_helper.rb
dotenv-0.9.0 spec/spec_helper.rb
dotenv-0.8.0 spec/spec_helper.rb
dotenv-0.7.0 spec/spec_helper.rb
dotenv-0.6.0 spec/spec_helper.rb