summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2015-08-11 16:23:06 -0700
committerHunter Haugen <hunter@puppetlabs.com>2015-08-11 16:23:06 -0700
commit9baca7f7556e1db3722e992244f98e54aef41309 (patch)
tree182442c752b51298424217a805add726d5139f6c
parentcf5d4ff34b1556d59c5360e01b5f9bfd5e2686e6 (diff)
Sometimes this exits 1
-rwxr-xr-xspec/spec_helper_acceptance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index 5556cbf..67a6e33 100755
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -56,7 +56,7 @@ RSpec.shared_context "with faked facts" do
end
after :each do
- shell("rm -f '#{facts_d}/fqdn.txt'")
+ shell("rm -f '#{facts_d}/fqdn.txt'", :acceptable_exit_codes => [0,1])
end
def fake_fact(name, value)