diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-25 22:41:31 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-11-25 22:41:31 -0800 |
commit | 4a5d7cce951fe0be60163b09938e988f0c7f8901 (patch) | |
tree | 5b14229e898ddf31e61a776a52a53f183c776e31 | |
parent | 3abac7a0ebf0e85a5cc91649fac5e6489cc9ab48 (diff) | |
download | ohai-4a5d7cce951fe0be60163b09938e988f0c7f8901.tar.gz |
Remove the older platform_family tests
We test this better now
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/unit/plugins/linux/platform_spec.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/unit/plugins/linux/platform_spec.rb b/spec/unit/plugins/linux/platform_spec.rb index 7b261aca..56d4335a 100644 --- a/spec/unit/plugins/linux/platform_spec.rb +++ b/spec/unit/plugins/linux/platform_spec.rb @@ -564,36 +564,6 @@ OS_DATA expect(plugin[:platform_version]).to eq("5.4") expect(plugin[:platform_family]).to eq("rhel") end - - it "should set the platform_family to rhel if the LSB name is oracle-ish" do - plugin[:lsb][:id] = "EnterpriseEnterpriseServer" - plugin.run - expect(plugin[:platform_family]).to eq("rhel") - end - - 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("amazon") - end - - it "should set the platform_family to fedora if the LSB name is fedora-ish" do - plugin[:lsb][:id] = "Fedora" - plugin.run - expect(plugin[:platform_family]).to eq("fedora") - end - - it "should set the platform_family to redhat if the LSB name is scientific-ish" do - plugin[:lsb][:id] = "Scientific" - plugin.run - expect(plugin[:platform_family]).to eq("rhel") - end - - it "should set the platform_family to redhat if the LSB name is ibm-ish" do - plugin[:lsb][:id] = "IBM_PowerKVM" - plugin.run - expect(plugin[:platform_family]).to eq("rhel") - end end describe "without lsb_release results" do |