summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-10-10 13:42:02 -0700
committerSerdar Sutay <serdar@opscode.com>2014-10-10 13:42:02 -0700
commit0b0eef02c7f5b0200ffbda60811e7bf4fa99bab0 (patch)
treeee7c015eda2307453db463d7c867cef459fc138b /spec/spec_helper.rb
parentfa6e449b9e01cb4c2c145c1dac6ff054910dc12d (diff)
parent75fa6a4bfcdb9f413779cf11c9caace4e433df0c (diff)
downloadchef-0b0eef02c7f5b0200ffbda60811e7bf4fa99bab0.tar.gz
Merge branch 'patch-1' of github.com:workmad3/chef into sersut/rebase-chef-1971sersut/rebase-chef-1971
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 1760aab871..e282a88100 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -162,6 +162,10 @@ RSpec.configure do |config|
config.before(:each) do
Chef::Config.reset
end
+
+ config.before(:suite) do
+ ARGV.clear
+ end
end
require 'webrick/utils'