summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-06-03 21:11:16 +0200
committerJames Turnbull <james@lovedthanlost.net>2009-06-06 09:52:54 +1000
commitc8b382df2b6664333eaa339237cfbefd3eb12b96 (patch)
tree512b36bf614a217a4c81deef5a9d4437dc41f7fc
parentf9516d49a02facb43e2856766b6439673450fdd1 (diff)
downloadpuppet-c8b382df2b6664333eaa339237cfbefd3eb12b96.tar.gz
puppet-c8b382df2b6664333eaa339237cfbefd3eb12b96.tar.xz
puppet-c8b382df2b6664333eaa339237cfbefd3eb12b96.zip
Fix some tests who were missing some actions
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
-rwxr-xr-xspec/unit/parser/collector.rb4
1 files changed, 4 insertions, 0 deletions
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