From 5e78151d1736e2c4cb741c2cbb7c6b5a59ed3e13 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 1 Apr 2008 00:08:15 -0500 Subject: Fixing tests that were failing as a result of the merge, including removing some now-obsolete code and tests from the Settings class. --- lib/puppet/node/catalog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/node') diff --git a/lib/puppet/node/catalog.rb b/lib/puppet/node/catalog.rb index 77e845368..c5e32a032 100644 --- a/lib/puppet/node/catalog.rb +++ b/lib/puppet/node/catalog.rb @@ -61,7 +61,7 @@ class Puppet::Node::Catalog < Puppet::PGraph def add_resource(*resources) resources.each do |resource| unless resource.respond_to?(:ref) - raise ArgumentError, "Can only add objects that respond to :ref" + raise ArgumentError, "Can only add objects that respond to :ref, not instances of %s" % resource.class end fail_unless_unique(resource) -- cgit