diff options
Diffstat (limited to 'spec/unit/plugins/netbsd/hostname_spec.rb')
-rw-r--r-- | spec/unit/plugins/netbsd/hostname_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/plugins/netbsd/hostname_spec.rb b/spec/unit/plugins/netbsd/hostname_spec.rb index 0a960d1a..6f09f433 100644 --- a/spec/unit/plugins/netbsd/hostname_spec.rb +++ b/spec/unit/plugins/netbsd/hostname_spec.rb @@ -27,9 +27,8 @@ describe Ohai::System, "NetBSD hostname plugin" do allow(@plugin).to receive(:resolve_fqdn).and_return("katie.bethell") end - it_should_check_from("linux::hostname", "hostname", "hostname -s", "katie") - - it_should_check_from("linux::hostname", "machinename", "hostname", "katie.local") + it_should_check_from("netbsd::hostname", "hostname", "hostname -s", "katie") + it_should_check_from("netbsd::hostname", "machinename", "hostname", "katie.local") it "uses #resolve_fqdn to find the fqdn" do @plugin.run |