Code Review
/
packages
/
precise
/
mcollective.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update code from https://github.com/dmi-try/marionette-collective
[packages/precise/mcollective.git]
/
spec
/
unit
/
plugins
/
mcollective
/
data
/
agent_data_spec.rb
diff --git
a/spec/unit/plugins/mcollective/data/agent_data_spec.rb
b/spec/unit/plugins/mcollective/data/agent_data_spec.rb
index 8477a63f89ac71704f060b63563ec9eaeae59af3..6c8670f9094a4f2728c7979eee36026b96f7faa4 100644
(file)
--- a/
spec/unit/plugins/mcollective/data/agent_data_spec.rb
+++ b/
spec/unit/plugins/mcollective/data/agent_data_spec.rb
@@
-10,6
+10,7
@@
module MCollective
describe "#query_data" do
before do
@ddl = mock
describe "#query_data" do
before do
@ddl = mock
+ @ddl.stubs(:dataquery_interface).returns({:output => {}})
@ddl.stubs(:meta).returns({:timeout => 1})
DDL.stubs(:new).returns(@ddl)
@plugin = Agent_data.new
@ddl.stubs(:meta).returns({:timeout => 1})
DDL.stubs(:new).returns(@ddl)
@plugin = Agent_data.new