spec/unit/plugins/linux/platform_spec.rb in ohai-6.18.0 vs spec/unit/plugins/linux/platform_spec.rb in ohai-6.20.0.rc.1
- old
+ new
@@ -70,15 +70,9 @@
@ohai[:lsb][:id] = "LinuxMint"
@ohai._require_plugin("linux::platform")
@ohai[:platform].should == "linuxmint"
@ohai[:platform_family].should == "debian"
end
- it "should set platform to gcel and platform_family to debian [:lsb][:id] contains GCEL" do
- @ohai[:lsb][:id] = "GCEL"
- @ohai._require_plugin("linux::platform")
- @ohai[:platform].should == "gcel"
- @ohai[:platform_family].should == "debian"
- end
it "should set platform to debian and platform_family to debian [:lsb][:id] contains Debian" do
@ohai[:lsb][:id] = "Debian"
@ohai._require_plugin("linux::platform")
@ohai[:platform].should == "debian"
@ohai[:platform_family].should == "debian"