method

shared_example_groups

rspec latest stable - Class: Spec::Example::SharedExampleGroup

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

shared_example_groups()
public

No documentation available.

# File lib/spec/example/shared_example_group.rb, line 16
        def shared_example_groups
          # TODO - this needs to be global, or at least accessible from
          # from subclasses of Example in a centralized place. I'm not loving
          # this as a solution, but it works for now.
          $shared_example_groups ||= []
        end