summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-09-25 22:14:34 -0700
committerJohn Keiser <john@johnkeiser.com>2015-09-28 17:34:55 -0700
commitb8cffc2e35c662585acff290b27f072c60105479 (patch)
tree5ad0dec08499bf48c9b29e3122d9b96587c75ec7 /spec/spec_helper.rb
parent68656820438b84d433ae9015b953790f67ddf0ec (diff)
downloadchef-b8cffc2e35c662585acff290b27f072c60105479.tar.gz
Add test for nonzero systemctl exit code
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 508f33821e..f4bb1a6819 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -73,6 +73,7 @@ require 'spec/support/local_gems.rb' if File.exists?(File.join(File.dirname(__FI
# Explicitly require spec helpers that need to load first
require 'spec/support/platform_helpers'
+require 'spec/support/shared/unit/mock_shellout'
# Autoloads support files
# Excludes support/platforms by default
@@ -98,6 +99,7 @@ TEST_PLATFORM_VERSION = TEST_NODE['platform_version']
RSpec.configure do |config|
config.include(Matchers)
+ config.include(MockShellout::RSpec)
config.filter_run :focus => true
config.filter_run_excluding :external => true