Need more info on Puppet Noop Testing!
I am looking into some community puppet tests. I have some knowledge on Puppet Rspec, but I have never come across code like below. Can some one help in pointing me in correct direction to learn about what is happening in this code.
manifest = 'database/database.pp' describe manifest do before(:each) do Noop.puppet_function_load :is_pkg_installed MockFunction.new(:is_pkg_installed) do |function| allow(function).to receive(:call).and_return false end end