diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:26:27 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:26:27 -0700 |
commit | a362b05f3abe38d5d4aed0160ff23f6a1af558e4 (patch) | |
tree | 5ea385988c8126fae4246a8f4806327b1b4c7af0 | |
parent | 2d144a0fc7c74e6a2328bbfe70cf920ec9641251 (diff) | |
download | ohai-a362b05f3abe38d5d4aed0160ff23f6a1af558e4.tar.gz |
i was wondering where these got used...
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/plugins/darwin/hardware_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/plugins/darwin/hardware_spec.rb b/spec/unit/plugins/darwin/hardware_spec.rb index 65f3cd4f..de69f3ee 100644 --- a/spec/unit/plugins/darwin/hardware_spec.rb +++ b/spec/unit/plugins/darwin/hardware_spec.rb @@ -27,7 +27,7 @@ describe Ohai::System, "Darwin hardware plugin", :unix_only do allow(plugin).to receive(:shell_out).with( "system_profiler SPHardwareDataType -xml" ).and_return( - mock_shell_out(0, HardwareSystemProfilerOutput::Hardware, "") + mock_shell_out(0, HardwareSystemProfilerOutput::HARDWARE, "") ) allow(plugin).to receive(:shell_out).with( @@ -57,13 +57,13 @@ describe Ohai::System, "Darwin hardware plugin", :unix_only do allow(plugin).to receive(:shell_out).with( "system_profiler SPStorageDataType -xml" ).and_return( - mock_shell_out(0, HardwareSystemProfilerOutput::Storage, "") + mock_shell_out(0, HardwareSystemProfilerOutput::STORAGE, "") ) allow(plugin).to receive(:shell_out).with( "system_profiler SPPowerDataType -xml" ).and_return( - mock_shell_out(0, HardwareSystemProfilerOutput::Power, "") + mock_shell_out(0, HardwareSystemProfilerOutput::POWER, "") ) end |