Sha256: 76a1b7ad28e8d6c9d3a0027d5c52469f2daad0addf2a53d9c44d1eea7932feb8

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_config/envvars_node'

module EacConfig
  module Rspec
    module Setup
      def self.extended(obj)
        obj.clean_envvars_load_path
      end

      def clean_envvars_load_path
        ::EacConfig::EnvvarsNode.new.load_path.entry.value = []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eac_config-0.5.2 lib/eac_config/rspec/setup.rb