From 512096afbd1dde4a63840ded45b4388e2e34048e Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 10 Oct 2007 11:01:56 -0500 Subject: Fixing some small spec failures resulting from test fixes. The problem was in how TransObjects were converted to RAL resources. (Committed while flying over Arkansas.) --- spec/unit/node/configuration.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/unit/node') diff --git a/spec/unit/node/configuration.rb b/spec/unit/node/configuration.rb index ee3834ef3..62d8e343d 100755 --- a/spec/unit/node/configuration.rb +++ b/spec/unit/node/configuration.rb @@ -250,11 +250,11 @@ describe Puppet::Node::Configuration, " when converting to a RAL configuration" @original.tag(*%w{one two three}) @original.add_class *%w{four five six} - @top = Puppet::TransObject.new 'Class[top]', "component" + @top = Puppet::TransObject.new 'top', "class" @topobject = Puppet::TransObject.new '/topobject', "file" - @middle = Puppet::TransObject.new 'Class[middle]', "component" + @middle = Puppet::TransObject.new 'middle', "class" @middleobject = Puppet::TransObject.new '/middleobject', "file" - @bottom = Puppet::TransObject.new 'Class[bottom]', "component" + @bottom = Puppet::TransObject.new 'bottom', "class" @bottomobject = Puppet::TransObject.new '/bottomobject', "file" @resources = [@top, @topobject, @middle, @middleobject, @bottom, @bottomobject] -- cgit