summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-02-01 16:35:21 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-02-01 16:35:21 -0800
commit07ad2394d643ae4d6b67d290f3f578f6e95694cd (patch)
tree191db68b57d6568c1ddd1345fec3f23131b4a8e0
parenta96e0c9c458bf987e409a5ba30853fc0244ec9f9 (diff)
parent5eecf37bd5d9063e0aaba58b7c7d555c92eed11d (diff)
downloadchef-07ad2394d643ae4d6b67d290f3f578f6e95694cd.tar.gz
Merge pull request #4505 from chef/jdm/ohai-func-spec
Don't rerun ohai for ohai_spec when not needed
-rw-r--r--spec/functional/resource/ohai_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/functional/resource/ohai_spec.rb b/spec/functional/resource/ohai_spec.rb
index 8b93f22613..e03614aa85 100644
--- a/spec/functional/resource/ohai_spec.rb
+++ b/spec/functional/resource/ohai_spec.rb
@@ -20,9 +20,7 @@ require "spec_helper"
describe Chef::Resource::Ohai do
let(:ohai) {
- o = Ohai::System.new
- o.all_plugins
- o
+ OHAI_SYSTEM
}
let(:node) { Chef::Node.new }