diff options
-rw-r--r-- | spec/unit/plugins/darwin/virtualization_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/plugins/darwin/virtualization_spec.rb b/spec/unit/plugins/darwin/virtualization_spec.rb index 10021a72..5d4e42bd 100644 --- a/spec/unit/plugins/darwin/virtualization_spec.rb +++ b/spec/unit/plugins/darwin/virtualization_spec.rb @@ -24,6 +24,7 @@ describe Ohai::System, "Darwin virtualization platform" do before(:each) do allow(plugin).to receive(:collect_os).and_return(:darwin) allow(plugin).to receive(:prlctl_exists?).and_return(false) + allow(plugin).to receive(:ioreg_exists?).and_return(false) end describe "when we are checking for parallels" do |