summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-12-06 18:25:42 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-12-06 18:25:42 -0800
commit0f23c416078146e13440e95952ceda89b63839cc (patch)
tree6b37438f6f58d1e07d04b3b3913b948dc020a917
parent8ff523addbabf02f41daf88bc7fc0b81c1b0774e (diff)
downloadchef-0f23c416078146e13440e95952ceda89b63839cc.tar.gz
lets see where this fails first
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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 bace94fcbe..fe640b8694 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -217,6 +217,10 @@ RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.before(:each) do
+ Dir.mkdir("/home/travis/.chef")
+ end
+
+ config.before(:each) do
# it'd be nice to run this with connections blocked or only to localhost, but we do make lots
# of real connections, so cannot. we reset it to allow connections every time to avoid
# tests setting connections to be disabled and that state leaking into other tests.