class RSpec::Core::Configuration

def alias_example_to(name, *args)

Other tags:
    Note: - Use with caution. This extends the language used in your
    Note: - The specific example alias below (`pending`) is already

Parameters:
  • args (Array, Hash) -- metadata for the generated example
  • name (String) -- example name alias
def alias_example_to(name, *args)
  extra_options = Metadata.build_hash_from(args)
  RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
end