class RSpec::Core::Configuration
def alias_example_to(name, *args)
- Note: - Use with caution. This extends the language used in your
Note: - The specific example alias below (`pending`) is already
Parameters:
-
args
(Array
) -- metadata for the generated example, Hash -
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