module RSpec::Core::SharedExampleGroup

def share_as(name, &block)

Deprecated:
def share_as(name, &block)
  RSpec.deprecate("Rspec::Core::SharedExampleGroup#share_as",
                  :replacement => "RSpec::SharedContext or shared_examples")
  SharedExampleGroup.registry.add_const(self, name, &block)
end