summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-09 15:33:28 -0600
committerLuke Kanies <luke@madstop.com>2008-12-18 11:10:21 -0600
commitd48fff6658535ca1781443aba9ab21893c13e55c (patch)
tree4fcfd8b502a0f23f057a6e0695f466195978f366 /spec/unit/parser
parentc927ce05bbd96fa9aacc8e52f8eb797403a1e433 (diff)
downloadpuppet-d48fff6658535ca1781443aba9ab21893c13e55c.tar.gz
puppet-d48fff6658535ca1781443aba9ab21893c13e55c.tar.xz
puppet-d48fff6658535ca1781443aba9ab21893c13e55c.zip
Renaming Puppet::Node::Catalog to Puppet::Resource::Catalog
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/parser')
-rwxr-xr-xspec/unit/parser/compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/compiler.rb b/spec/unit/parser/compiler.rb
index bf50d8790..025836229 100755
--- a/spec/unit/parser/compiler.rb
+++ b/spec/unit/parser/compiler.rb
@@ -251,7 +251,7 @@ describe Puppet::Parser::Compiler do
file2 = Puppet::Type.type(:file).create :path => "/foo"
@compiler.add_resource(@scope, file1)
- lambda { @compiler.add_resource(@scope, file2) }.should raise_error(Puppet::Node::Catalog::DuplicateResourceError)
+ lambda { @compiler.add_resource(@scope, file2) }.should raise_error(Puppet::Resource::Catalog::DuplicateResourceError)
end
it "should have a method for looking up resources" do