summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/fail_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/fail_spec.rb')
-rw-r--r--spec/unit/plugins/fail_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/fail_spec.rb b/spec/unit/plugins/fail_spec.rb
index 58bf5f42..24ac4070 100644
--- a/spec/unit/plugins/fail_spec.rb
+++ b/spec/unit/plugins/fail_spec.rb
@@ -32,7 +32,7 @@ describe Ohai::System, "plugin fail" do
fail_plugin.write("provides \"fail\"require 'thiswillblowupinyourface'\nk=MissingClassName.new\nfail \"ohnoes\"")
fail_plugin.close
real_plugin=File.open("#{tmp}/plugins/real.rb","w+")
- real_plugin.write("Ohai.plugin(:Real) do\nprovides \"real\"\ncollect_data do\nreal \"useful\"\nend\nend\n")
+ real_plugin.write("Ohai.plugin do\nprovides \"real\"\ncollect_data do\nreal \"useful\"\nend\nend\n")
real_plugin.close
@plugin_path=Ohai::Config[:plugin_path]
end