Class: Puppet::Util::Autoload
- Inherits:
-
Object
- Object
- Puppet::Util::Autoload
- Defined in:
- lib/rspec-puppet/monkey_patches.rb
Class Method Summary collapse
Class Method Details
.load_file(*args) ⇒ Object
216 217 218 219 220 221 222 223 224 |
# File 'lib/rspec-puppet/monkey_patches.rb', line 216 def self.load_file(*args) if RSpec::Puppet.rspec_puppet_example? RSpec::Puppet::Consts.without_stubs do old_load_file(*args) end else old_load_file(*args) end end |