spec/unit/virtual_spec.rb in facter-1.6.17 vs spec/unit/virtual_spec.rb in facter-1.6.18.rc1
- old
+ new
@@ -12,9 +12,10 @@
Facter::Util::Virtual.stubs(:xen?).returns(false)
Facter::Util::Virtual.stubs(:kvm?).returns(false)
Facter::Util::Virtual.stubs(:hpvm?).returns(false)
Facter::Util::Virtual.stubs(:zlinux?).returns(false)
Facter::Util::Virtual.stubs(:virt_what).returns(nil)
+ Facter::Util::Virtual.stubs(:virtualbox?).returns(false)
end
it "should be zone on Solaris when a zone" do
Facter.fact(:kernel).stubs(:value).returns("SunOS")
Facter::Util::Virtual.stubs(:zone?).returns(true)