diff options
| author | Luke Kanies <luke@madstop.com> | 2008-11-23 00:56:38 -0600 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2008-11-25 14:11:00 +1100 |
| commit | bbad9831577a123cc5f6bd7f04836f483c9e8f6f (patch) | |
| tree | 7dd57ec825adbf6a6acba1e999ef3de61802339c /spec/unit/node | |
| parent | b415848841edac9b08ff604416ad2e24dd350b4d (diff) | |
| download | puppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.tar.gz puppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.tar.xz puppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.zip | |
Removing the included testing gems; you must now install them yourself.
Everything passes, but autotest doesn't include color.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/node')
| -rwxr-xr-x | spec/unit/node/catalog.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/unit/node/catalog.rb b/spec/unit/node/catalog.rb index 45174e5e5..be198b88e 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] |
