module RSpec::Core::SharedExampleGroup::TopLevelDSL
def share_as(name, &block)
def share_as(name, &block) RSpec.deprecate("Rspec::Core::SharedExampleGroup#share_as", :replacement => "RSpec::SharedContext or shared_examples") SharedExampleGroup.registry.add_const('main', name, &block) end
def shared_example_groups
def shared_example_groups SharedExampleGroup.registry.shared_example_groups_for('main') end
def shared_examples(*args, &block)
def shared_examples(*args, &block) SharedExampleGroup.registry.add_group('main', *args, &block) end