spec/unit/plugins/mcollective/application/plugin_spec.rb in mcollective-client-2.5.3 vs spec/unit/plugins/mcollective/application/plugin_spec.rb in mcollective-client-2.6.0

- old
+ new

@@ -20,9 +20,10 @@ PluginManager.stubs(:find).with(:agent, "ddl").returns(["rspec"]) PluginManager.stubs(:find).with(:aggregate, "ddl").returns([""]) PluginManager.stubs(:find).with(:data, "ddl").returns([""]) PluginManager.stubs(:find).with(:discovery, "ddl").returns([""]) PluginManager.stubs(:find).with(:validator, "ddl").returns([""]) + PluginManager.stubs(:find).with(:connector, "ddl").returns([""]) @app.stubs(:load_plugin_ddl).with('rspec', :agent).returns(ddl) ddl.expects(:help).with("rspec-helptemplate.erb").returns("agent_template") @app.expects(:puts).with("agent_template") @app.doc_command end