summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/platform_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index e761b625d8..cc761ec581 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -174,8 +174,8 @@ def rhel6?
rhel? && !!(ohai[:platform_version].to_i == 6)
end
-def opensuse15?
- suse? && !!(ohai[:platform_version].to_i == 15)
+def opensuse?
+ suse? && !!(ohai[:platform_version].to_i >= 15)
end
def rhel7?