class RSpec::Mocks::OrderGroup
def handle_order_constraint(expectation)
Experimental RBS support (using type sampling data from the type_fusion
project).
def handle_order_constraint: (RSpec::Mocks::MessageExpectation expectation) -> nil
This signature was generated using 3 samples from 1 application.
- Private: -
def handle_order_constraint(expectation) return unless expectation.ordered? && remaining_expectations.include?(expectation) return consume if ready_for?(expectation) expectation.raise_out_of_order_error end