summaryrefslogtreecommitdiff
path: root/spec/support/shared/functional/diff_disabled.rb
blob: c40b1e6e49a8e6ad55d406d2a67e26cfdcf11e56 (plain)
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