diff options
author | markgibbons <mark.gibbons@nordstrom.com> | 2016-08-25 14:25:25 -0700 |
---|---|---|
committer | markgibbons <mark.gibbons@nordstrom.com> | 2016-08-25 14:25:25 -0700 |
commit | f875cd7e8d32d8bc8a2750c91bc96077a1633103 (patch) | |
tree | c627d969026a5879625bb905c68142a6cd0b9c85 /spec/unit | |
parent | 806a56de6ae5fe956508ad6bfc90cb6f39cb1807 (diff) | |
download | ohai-f875cd7e8d32d8bc8a2750c91bc96077a1633103.tar.gz |
Solaris_update_version: Create kernel[:update] for solaris 2
Add :update to the kernel mash
Style fixes
Typo fixes
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/plugins/solaris2/kernel_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/solaris2/kernel_spec.rb b/spec/unit/plugins/solaris2/kernel_spec.rb index b90ec990..fa487141 100644 --- a/spec/unit/plugins/solaris2/kernel_spec.rb +++ b/spec/unit/plugins/solaris2/kernel_spec.rb @@ -143,21 +143,21 @@ describe Ohai::System, "Solaris2.X kernel plugin" do allow(File).to receive(:open).with("/etc/release").and_yield(@release) end - it "should give the Solaris update version informtion" do + it "should give the Solaris update version information" do @release = StringIO.new(" Solaris 10 10/08 s10s_u6wos_07b SPARC\n Use is subject to license terms.\n Assembled 27 October 2008") allow(File).to receive(:open).with("/etc/release").and_yield(@release) @plugin.run expect(@plugin[:kernel][:update]).to eq("10 10/08 s10s_u6wos_07") end - it "should give the Oracle Solaris update version informtion" do + it "should give the Oracle Solaris update version information" do @release = StringIO.new(" Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC\n Assembled 17 January 2013") allow(File).to receive(:open).with("/etc/release").and_yield(@release) @plugin.run expect(@plugin[:kernel][:update]).to eq("10 1/13 s10s_u11wos_24") end - it "should give the Solaris 11 update version informtion" do + it "should give the Solaris 11 update version information" do @release = StringIO.new(" Oracle Solaris 11.3 SPARC\n Assembled 25 July 2016") allow(File).to receive(:open).with("/etc/release").and_yield(@release) @plugin.run |