summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-09-16 14:46:52 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-09-16 14:46:52 -0700
commit03557d29a827a29065f323ca498869d0fefd3f02 (patch)
tree1e59aeaa04395d2e1cf47ac719ca9259ba8ceb47 /spec/support
parent8fa661058877d5b465f4969e8fef9475af8f96a8 (diff)
downloadchef-03557d29a827a29065f323ca498869d0fefd3f02.tar.gz
Reset configuration before each test
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared/integration/integration_helper.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/support/shared/integration/integration_helper.rb b/spec/support/shared/integration/integration_helper.rb
index 5a86abb45b..0c4bf990af 100644
--- a/spec/support/shared/integration/integration_helper.rb
+++ b/spec/support/shared/integration/integration_helper.rb
@@ -28,15 +28,6 @@ require 'spec_helper'
module IntegrationSupport
include ChefZero::RSpec
- def self.extended(base)
- base.before :each do
- Chef::Config.reset
- end
- base.after :all do
- Chef::Config.reset
- end
- end
-
def when_the_repository(description, *args, &block)
context "When the local repository #{description}", *args do
before :each do