summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-25 14:00:49 -0800
committerTim Smith <tsmith@chef.io>2017-01-25 14:00:49 -0800
commit9c75d08e15652baae014ad15bd269c5c550ca6af (patch)
tree01e07ea9eba1aaa6479fd953fd1cd09f7f453347
parent1128df06fff4321e2002ec45c6548d0c63f9ae98 (diff)
downloadohai-more_minor_spec.tar.gz
Remove rescue loading plist in the specs as this is a depmore_minor_spec
There’s no need for this and we’re not doing this in the dozen other places we load deps. Signed-off-by: Tim Smith <tsmith@chef.io>
-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")