Sha256: d89f33496d8818c6d1419a18be9480fa9cdd782295b8b59a017f239a1192c050
Contents?: true
Size: 586 Bytes
Versions: 143
Compression:
Stored size: 586 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(:each) do class NoOpFoo < Chef::Resource provides "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
143 entries across 143 versions & 1 rubygems