Sha256: ac7cb520dfac667f6e499e4e81e35c30a0db585b0874afc52a6c4cffdd5dc28d

Contents?: true

Size: 214 Bytes

Versions: 18

Compression:

Stored size: 214 Bytes

Contents

module EnvVariableHelper
  RSpec.configure do |config|
    config.include self
  end

  def with_env_var(name, value)
    value_bofre, ENV[name] = ENV[name], value
    yield
    ENV[name] = value_bofre
  end
end


Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
omniauth-applicaster-2.0.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.9.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.8.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.7.1 spec/support/env_variable_helper.rb
omniauth-applicaster-1.7.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.6.1 spec/support/env_variable_helper.rb
omniauth-applicaster-1.6.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.5.2 spec/support/env_variable_helper.rb
omniauth-applicaster-1.5.1 spec/support/env_variable_helper.rb
omniauth-applicaster-1.5.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.4.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.5 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.4 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.3 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.2 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.1 spec/support/env_variable_helper.rb
omniauth-applicaster-1.3.0 spec/support/env_variable_helper.rb
omniauth-applicaster-1.2.0 spec/support/env_variable_helper.rb