Sha256: 0fd320e5ac0543c3bb22cc0d636405a8685c4c43521d3673582b61aee7bfb5ed
Contents?: true
Size: 591 Bytes
Versions: 94
Compression:
Stored size: 591 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 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
94 entries across 94 versions & 1 rubygems