module ErgomentumRspec::Helpers::Environment

Public Instance Methods

mock_environment_variables(options) click to toggle source
# File lib/ergomentum_rspec/helpers/environment.rb, line 6
def mock_environment_variables(options)
  stub_const("ENV", ENV.to_h.merge(options))
end