Method: RSpec::Core::Configuration#order_examples
- Defined in:
- lib/rspec/core/configuration.rb
#order_examples(&block) ⇒ Object
Sets a strategy by which to order examples.
961 962 963 964 |
# File 'lib/rspec/core/configuration.rb', line 961 def order_examples(&block) @example_ordering_block = block @order = "custom" unless built_in_orderer?(block) end |