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