diff options
author | Ressl Robert <r.ressl@safematix.com> | 2018-11-25 11:23:35 +0100 |
---|---|---|
committer | Ressl Robert <r.ressl@safematix.com> | 2018-11-25 11:23:35 +0100 |
commit | b83ab29996f0b58ddfef63407564a19bf8b9ca0c (patch) | |
tree | 3ae072b9703f4f8514437886461c6cead8aceb4e | |
parent | c23fd84096824d489bc3c84565a5bb5509054c09 (diff) | |
download | ohai-b83ab29996f0b58ddfef63407564a19bf8b9ca0c.tar.gz |
:art: :pencil: change describe of test for Hyper-V guest and the hostname of the host
Signed-off-by: Ressl Robert <r.ressl@safematix.com>
-rw-r--r-- | spec/unit/plugins/linux/virtualization_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/linux/virtualization_spec.rb b/spec/unit/plugins/linux/virtualization_spec.rb index 264a357d..f378fe8f 100644 --- a/spec/unit/plugins/linux/virtualization_spec.rb +++ b/spec/unit/plugins/linux/virtualization_spec.rb @@ -385,7 +385,7 @@ VEERTU end end - describe "when we are checking for Hyper-V guest and host hostname" do + describe "when we are checking for Hyper-V guest and the hostname of the host" do it "sets Hyper-V guest if /var/lib/hyperv/.kvp_pool_3 contains hyper_v.example.com" do expect(File).to receive(:exist?).with("/var/lib/hyperv/.kvp_pool_3").and_return(true) allow(File).to receive(:read).with("/var/lib/hyperv/.kvp_pool_3").and_return("HostNamehyper_v.example.comHostingSystemEditionId") |