From c8b382df2b6664333eaa339237cfbefd3eb12b96 Mon Sep 17 00:00:00 2001 From: Brice Figureau Date: Wed, 3 Jun 2009 21:11:16 +0200 Subject: Fix some tests who were missing some actions Signed-off-by: Brice Figureau --- spec/unit/parser/collector.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/unit/parser') diff --git a/spec/unit/parser/collector.rb b/spec/unit/parser/collector.rb index 3bca564dc..487bdc094 100755 --- a/spec/unit/parser/collector.rb +++ b/spec/unit/parser/collector.rb @@ -516,6 +516,8 @@ describe Puppet::Parser::Collector, "when building its ActiveRecord query for co options = arguments[3] options[:conditions][0].include?("(exported=? AND restype=?)") and options[:conditions][1] == true and options[:conditions][2] == "Mytype" }.returns([]) + + @collector.evaluate end it "should include the export query if one is provided" do @@ -524,5 +526,7 @@ describe Puppet::Parser::Collector, "when building its ActiveRecord query for co options = arguments[3] options[:conditions][0].include?("test = true") }.returns([]) + + @collector.evaluate end end -- cgit