spec/spec_helper.rb
# some ENV vars set on dev machines should be ignored for tests:
some ENV vars set on dev machines should be ignored for tests.
some ENV vars set on dev machines should be ignored for tests .
def  clean_env_vars
  envs = %w(
    REPORT_SERVICE_SELF_URL REPORT_SERVICE_URL REPORT_SERVICE_TOKEN
  )
  envs.each { |e| ENV.delete(e) }
end
def clean_env_vars envs = %w( REPORT_SERVICE_SELF_URL REPORT_SERVICE_URL REPORT_SERVICE_TOKEN ) envs . each { | e | ENV . delete ( e ) } end
some ENV vars set on dev machines should be ignored for tests:
some ENV vars set on dev machines should be ignored for tests :