summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/dmi_spec.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@opscode.com>2013-07-26 11:42:32 -0700
committerClaire McQuin <claire@opscode.com>2013-07-26 11:42:32 -0700
commit39e64ada315a7ddf1912ede1731fd9a8f5c14ca3 (patch)
treee4a80dc1a9ba0604b59921058c8aceb726dd4e27 /spec/unit/plugins/dmi_spec.rb
parent095010e8c8cb15a76dec693a71763165e9843309 (diff)
downloadohai-39e64ada315a7ddf1912ede1731fd9a8f5c14ca3.tar.gz
New plugin map for Ohai::System controller. Added and updated spec tests to reflect changes.
Diffstat (limited to 'spec/unit/plugins/dmi_spec.rb')
-rw-r--r--spec/unit/plugins/dmi_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/dmi_spec.rb b/spec/unit/plugins/dmi_spec.rb
index 8f233d72..3e251ac7 100644
--- a/spec/unit/plugins/dmi_spec.rb
+++ b/spec/unit/plugins/dmi_spec.rb
@@ -94,7 +94,7 @@ EOS
describe Ohai::System, "plugin dmi" do
before(:each) do
@ohai = Ohai::System.new
- @plugin = Ohai::DSL::Plugin.new(@ohai, File.join(PLUGIN_PATH, "dmi.rb"))
+ @plugin = Ohai::DSL::Plugin.new(@ohai, "dmi", File.join(PLUGIN_PATH, "dmi.rb"))
@plugin.stub(:require_plugin).and_return(true)
@stdin = double("STDIN", { :close => true })
@pid = 10