Method: RSpec::Core::Configuration#order_groups
- Defined in:
- lib/rspec/core/configuration.rb
#order_groups(&block) ⇒ Object
Sets a strategy by which to order groups.
984 985 986 987 |
# File 'lib/rspec/core/configuration.rb', line 984 def order_groups(&block) @group_ordering_block = block @order = "custom" unless built_in_orderer?(block) end |