summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorMukta A <mukta.aphale@clogeny.com>2013-09-03 14:13:38 +0530
committeradamedx <adamed@opscode.com>2013-09-03 15:28:49 -0700
commitfa11247951c864fd9062ed4cde513175f1ef27df (patch)
tree24646551ce6b6899be03e1c4520b315f07a34d12 /spec/spec_helper.rb
parentd4474142e3260e3a55326a8294c632a4f5d04518 (diff)
downloadchef-fa11247951c864fd9062ed4cde513175f1ef27df.tar.gz
Added a new method to check for suse platform for testing
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ec9293764a..41c9c821bd 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -108,7 +108,7 @@ RSpec.configure do |config|
config.filter_run_excluding :system_windows_service_gem_only => true unless system_windows_service_gem?
config.filter_run_excluding :unix_only => true unless unix?
# Remove this filter once these issues are fixed: OC-9764, OC-9765, OC-9766, OC-9767
- config.filter_run_excluding :unsupported_group_provider_platform => true if (os_x? or solaris? or freebsd? or File.exists?("/etc/SuSE-release"))
+ config.filter_run_excluding :unsupported_group_provider_platform => true if (os_x? or solaris? or freebsd? or suse?)
config.filter_run_excluding :supports_cloexec => true unless supports_cloexec?
config.filter_run_excluding :selinux_only => true unless selinux_enabled?
config.filter_run_excluding :ruby_18_only => true unless ruby_18?