summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-07-19 15:41:00 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-07-19 15:41:00 -0700
commit98008c673829d3dd361cc8f0a59dbe51e4a19f9d (patch)
treee61dc450b3d77fca468ca8ef5eafb57cefd3748f /spec/spec_helper.rb
parentbad96f846718685302fec9e627471b68cd9bab8f (diff)
downloadchef-98008c673829d3dd361cc8f0a59dbe51e4a19f9d.tar.gz
fix the spec filter
these platform filters really need some serious cleanup along the lines of the ruby version cleanup that i did, the number of these helpers is getting rediculous...
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 55b0a9c3f6..44a599436c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -153,6 +153,7 @@ RSpec.configure do |config|
config.filter_run_excluding :aix_only => true unless aix?
config.filter_run_excluding :debian_family_only => true unless debian_family?
config.filter_run_excluding :linux_only => true unless linux?
+ config.filter_run_excluding :non_linux_only => true if linux?
config.filter_run_excluding :supports_cloexec => true unless supports_cloexec?
config.filter_run_excluding :selinux_only => true unless selinux_enabled?
config.filter_run_excluding :requires_root => true unless root?