method
handle_order_constraint

handle_order_constraint(expectation)
public
Hide source
# File lib/spec/mocks/order_group.rb, line 21 def handle_order_constraint expectation return unless @ordering.include? expectation return consume if ready_for?(expectation) @error_generator.raise_out_of_order_error expectation.sym end