summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2017-01-26 11:02:27 +0000
committerGitHub <noreply@github.com>2017-01-26 11:02:27 +0000
commit54073faca2cde334d27f739e1897a0041a27ed00 (patch)
tree01e07ea9eba1aaa6479fd953fd1cd09f7f453347
parent1128df06fff4321e2002ec45c6548d0c63f9ae98 (diff)
parent9c75d08e15652baae014ad15bd269c5c550ca6af (diff)
downloadohai-54073faca2cde334d27f739e1897a0041a27ed00.tar.gz
Merge pull request #950 from chef/more_minor_spec
Remove rescue loading plist in the specs as this is a dep
-rw-r--r--spec/unit/plugins/darwin/system_profiler_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/unit/plugins/darwin/system_profiler_spec.rb b/spec/unit/plugins/darwin/system_profiler_spec.rb
index bea074d0..366d2ec7 100644
--- a/spec/unit/plugins/darwin/system_profiler_spec.rb
+++ b/spec/unit/plugins/darwin/system_profiler_spec.rb
@@ -19,13 +19,6 @@
require_relative "../../../spec_helper.rb"
require_relative "system_profiler_output.rb"
-begin
- require "plist"
-rescue LoadError => e
- puts "The darwin systemprofile plugin spec tests will fail without the 'plist' library/gem.\n\n"
- raise e
-end
-
describe Ohai::System, "Darwin system_profiler plugin", :unix_only do
before(:each) do
@plugin = get_plugin("darwin/system_profiler")