diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 20:28:30 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-21 20:28:30 +0000 |
commit | d35d04e325dba0c3b0bb8924809e3f77b00a3c4e (patch) | |
tree | 3ad402eadccba8916b8825fb46e001ad7473abb1 /test | |
parent | 9afdf1fa429cd5f81f68d27e172af208d6118e22 (diff) | |
download | puppet-d35d04e325dba0c3b0bb8924809e3f77b00a3c4e.tar.gz puppet-d35d04e325dba0c3b0bb8924809e3f77b00a3c4e.tar.xz puppet-d35d04e325dba0c3b0bb8924809e3f77b00a3c4e.zip |
Adding class list method to group. Also added a test to verify every type responds to "list", but it does not pass right now so it is disabled.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1652 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r-- | test/types/type.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/types/type.rb b/test/types/type.rb index 929fc616e..e327a61a9 100644 --- a/test/types/type.rb +++ b/test/types/type.rb @@ -755,6 +755,17 @@ end assert_equal(tags + [:file], obj.tags) end + + def disabled_test_list + Puppet::Type.loadall + + Puppet::Type.eachtype do |type| + next if type.name == :symlink + next if type.name == :component + next if type.name == :tidy + assert(type.respond_to?(:list), "%s does not respond to list" % type.name) + end + end end # $Id$ |