1 2 3 4 5 6 7 8 9 10
shared_context "diff disabled" do before do Chef::Config[:diff_disabled] = true end after do Chef::Config[:diff_disabled] = false end end