summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-02-01 15:11:35 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-02-01 15:11:35 -0800
commit5eecf37bd5d9063e0aaba58b7c7d555c92eed11d (patch)
tree191db68b57d6568c1ddd1345fec3f23131b4a8e0
parenta96e0c9c458bf987e409a5ba30853fc0244ec9f9 (diff)
downloadchef-jdm/ohai-func-spec.tar.gz
Don't rerun ohai for ohai_spec when not neededjdm/ohai-func-spec
Running ohai is slow
-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 }