Flowdock
method

registered_or_ancestor_of_registered?

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Example::ExampleGroupFactory::ClassMethods
registered_or_ancestor_of_registered?(example_group_classes) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/example/example_group_factory.rb, line 10
        def registered_or_ancestor_of_registered?(example_group_classes) # :nodoc:
          example_group_classes.each do |example_group_class|
            return false unless registered_types.any? do |registered_type|
              registered_type.ancestors.include? example_group_class
            end
          end
          return true
        end
Register or log in to add new notes.