Sha256: b17a884ea33c1574f70a74c0fb434f372c05cdf0447ce44559b7996de69982a3
Contents?: true
Size: 594 Bytes
Versions: 60
Compression:
Stored size: 594 Bytes
Contents
require "support/shared/integration/integration_helper" describe "Resources with a no-op provider" do include IntegrationSupport context "with noop provider providing foo" do before(:context) do class NoOpFoo < Chef::Resource resource_name "hi_there" default_action :update end Chef::Provider::Noop.provides :hi_there end it "does not blow up a run with a noop'd resource" do recipe = converge do hi_there "blah" do action :update end end expect(recipe.logged_warnings).to eq "" end end end
Version data entries
60 entries across 60 versions & 1 rubygems