From d35d04e325dba0c3b0bb8924809e3f77b00a3c4e Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 21 Sep 2006 20:28:30 +0000 Subject: 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 --- test/types/type.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') 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$ -- cgit