summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/linux/platform_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/linux/platform_spec.rb')
-rw-r--r--spec/unit/plugins/linux/platform_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index bf84d9b9..d8ea722b 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -709,6 +709,7 @@ CISCO_RELEASE
let(:os_release_content) do
<<~OS_RELEASE
+ NAME="SLES"
VERSION="15"
VERSION_ID="15"
PRETTY_NAME="SUSE Linux Enterprise Server 15"
@@ -727,7 +728,7 @@ OS_RELEASE
it "correctly detects SLES15" do
@plugin.run
- expect(@plugin[:platform]).to eq("sles")
+ expect(@plugin[:platform]).to eq("suse")
expect(@plugin[:platform_version]).to eq("15")
expect(@plugin[:platform_family]).to eq("suse")
end