lib/test/unit/testcase.rb in test-unit-3.4.2 vs lib/test/unit/testcase.rb in test-unit-3.4.3
- old
+ new
@@ -129,15 +129,16 @@
DESCENDANTS << sub_class
super
end
def include(*modules, &block) # :nodoc:
- super
+ result = super
modules.each do |mod|
mod.public_instance_methods(false).each do |method_name|
AutoRunnerLoader.check(self, method_name.to_s)
end
end
+ result
end
@@added_method_names = {}
def method_added(name) # :nodoc:
super