diff options
author | John Keiser <jkeiser@opscode.com> | 2013-09-16 14:46:52 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-09-16 14:46:52 -0700 |
commit | 03557d29a827a29065f323ca498869d0fefd3f02 (patch) | |
tree | 1e59aeaa04395d2e1cf47ac719ca9259ba8ceb47 /spec/unit/util | |
parent | 8fa661058877d5b465f4969e8fef9475af8f96a8 (diff) | |
download | chef-03557d29a827a29065f323ca498869d0fefd3f02.tar.gz |
Reset configuration before each test
Diffstat (limited to 'spec/unit/util')
-rw-r--r-- | spec/unit/util/diff_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/unit/util/diff_spec.rb b/spec/unit/util/diff_spec.rb index ad0ba627d3..0e3bc0a0d7 100644 --- a/spec/unit/util/diff_spec.rb +++ b/spec/unit/util/diff_spec.rb @@ -21,15 +21,6 @@ require 'spec_helper' require 'tmpdir' describe Chef::Util::Diff, :uses_diff => true do - before :each do - Chef::Config.reset - end - - after :all do - # Be a good citizen - Chef::Config.reset - end - let!(:old_tempfile) { Tempfile.new("chef-util-diff-spec") } let!(:new_tempfile) { Tempfile.new("chef-util-diff-spec") } let!(:old_file) { old_tempfile.path } |