Update code from https://github.com/dmi-try/marionette-collective
[packages/precise/mcollective.git] / spec / unit / plugins / mcollective / data / agent_data_spec.rb
index 8477a63f89ac71704f060b63563ec9eaeae59af3..6c8670f9094a4f2728c7979eee36026b96f7faa4 100644 (file)
@@ -10,6 +10,7 @@ module MCollective
       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