summaryrefslogtreecommitdiffstats
path: root/spec/unit/node
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-10 11:01:56 -0500
committerLuke Kanies <luke@madstop.com>2007-10-10 11:01:56 -0500
commit512096afbd1dde4a63840ded45b4388e2e34048e (patch)
tree024a325c17e12888c0f4cdff30d69c5806cf4c5b /spec/unit/node
parent9db7aae242537b2bd39b8f4ae5723514087e7034 (diff)
downloadpuppet-512096afbd1dde4a63840ded45b4388e2e34048e.tar.gz
puppet-512096afbd1dde4a63840ded45b4388e2e34048e.tar.xz
puppet-512096afbd1dde4a63840ded45b4388e2e34048e.zip
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.)
Diffstat (limited to 'spec/unit/node')
-rwxr-xr-xspec/unit/node/configuration.rb6
1 files changed, 3 insertions, 3 deletions
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]