summaryrefslogtreecommitdiffstats
path: root/spec/unit/node
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-02 16:26:54 -0600
committerLuke Kanies <luke@madstop.com>2008-12-02 16:26:54 -0600
commit99a9b5a045af6f1c68619792a45603cbe450652d (patch)
tree579963d464c0529d4e9250f937d495e415f1e867 /spec/unit/node
parentf73e13e7464edab73443857d628602b89361c220 (diff)
parent278bfe83015312292360f727d6532a143610db0d (diff)
downloadpuppet-99a9b5a045af6f1c68619792a45603cbe450652d.tar.gz
puppet-99a9b5a045af6f1c68619792a45603cbe450652d.tar.xz
puppet-99a9b5a045af6f1c68619792a45603cbe450652d.zip
Merge branch '0.24.x'
Conflicts: bin/puppetca lib/puppet/type/group.rb lib/puppet/type/tidy.rb lib/puppet/util/settings.rb Also edited the following files so tests will pass: lib/puppet/type/component.rb spec/unit/ssl/certificate_request.rb spec/unit/type/computer.rb spec/unit/type/mcx.rb spec/unit/type/resources.rb spec/unit/util/settings.rb spec/unit/util/storage.rb test/ral/type/zone.rb
Diffstat (limited to 'spec/unit/node')
-rwxr-xr-xspec/unit/node/catalog.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/unit/node/catalog.rb b/spec/unit/node/catalog.rb
index e3661d995..97674dfc2 100755
--- a/spec/unit/node/catalog.rb
+++ b/spec/unit/node/catalog.rb
@@ -152,7 +152,7 @@ describe Puppet::Node::Catalog, " when extracting transobjects" do
end
describe Puppet::Node::Catalog, " when converting to a transobject catalog" do
- class TestResource
+ class CatalogTestResource
attr_accessor :name, :virtual, :builtin
def initialize(name, options = {})
@name = name
@@ -185,14 +185,14 @@ describe Puppet::Node::Catalog, " when converting to a transobject catalog" do
@original.tag(*%w{one two three})
@original.add_class *%w{four five six}
- @top = TestResource.new 'top'
- @topobject = TestResource.new 'topobject', :builtin => true
- @virtual = TestResource.new 'virtual', :virtual => true
- @virtualobject = TestResource.new 'virtualobject', :builtin => true, :virtual => true
- @middle = TestResource.new 'middle'
- @middleobject = TestResource.new 'middleobject', :builtin => true
- @bottom = TestResource.new 'bottom'
- @bottomobject = TestResource.new 'bottomobject', :builtin => true
+ @top = CatalogTestResource.new 'top'
+ @topobject = CatalogTestResource.new 'topobject', :builtin => true
+ @virtual = CatalogTestResource.new 'virtual', :virtual => true
+ @virtualobject = CatalogTestResource.new 'virtualobject', :builtin => true, :virtual => true
+ @middle = CatalogTestResource.new 'middle'
+ @middleobject = CatalogTestResource.new 'middleobject', :builtin => true
+ @bottom = CatalogTestResource.new 'bottom'
+ @bottomobject = CatalogTestResource.new 'bottomobject', :builtin => true
@resources = [@top, @topobject, @middle, @middleobject, @bottom, @bottomobject]