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.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb
index 5066d209..1cd544ca 100644
--- a/spec/unit/plugins/linux/platform_spec.rb
+++ b/spec/unit/plugins/linux/platform_spec.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
+# Copyright:: Copyright (c) 2008-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,7 +113,7 @@ describe Ohai::System, "Linux plugin platform" do
@plugin[:lsb][:release] = "2011.09"
@plugin.run
expect(@plugin[:platform]).to eq("amazon")
- expect(@plugin[:platform_family]).to eq("rhel")
+ expect(@plugin[:platform_family]).to eq("amazon")
end
it "should set platform to scientific when [:lsb][:id] contains ScientificSL" do
@@ -358,7 +358,7 @@ OS_RELEASE
it "should set the platform_family to rhel if the LSB name is amazon-ish" do
@plugin[:lsb][:id] = "Amazon"
@plugin.run
- expect(@plugin[:platform_family]).to eq("rhel")
+ expect(@plugin[:platform_family]).to eq("amazon")
end
it "should set the platform_family to fedora if the LSB name is fedora-ish" do