From 3cf93c18f70758453899fa8bfa71591fcb6e83f5 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 23 Nov 2012 15:54:53 +0000 Subject: Allow the test-factory to return the known-test types, and then test *each* of the with a simple constructed test. --- lib/custodian/testfactory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/testfactory.rb') diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb index 6ae74d1..be5584c 100644 --- a/lib/custodian/testfactory.rb +++ b/lib/custodian/testfactory.rb @@ -63,7 +63,7 @@ module Custodian # i.e. Derived classes that have registered themselves. # # - def types + def self.known_tests @@subclasses end -- cgit v1.2.1