Method: RSpec::Core::Configuration#register_ordering
- Defined in:
- lib/rspec/core/configuration.rb
#register_ordering(name) {|list| ... } ⇒ void
Note:
Pass the symbol :global
to set the ordering strategy that
will be used to order the top-level example groups and any example
groups that do not have declared :order
metadata.
Registers a named ordering strategy that can later be
used to order an example group's subgroups by adding
:order => <name>
metadata to the example group.
1754 |
# File 'lib/rspec/core/configuration.rb', line 1754 delegate_to_ordering_manager :register_ordering |