diff --git a/lib/mocha/expectation_list.rb b/lib/mocha/expectation_list.rb index 74c720da..ba521b62 100644 --- a/lib/mocha/expectation_list.rb +++ b/lib/mocha/expectation_list.rb @@ -21,10 +21,6 @@ def match(invocation, ignoring_order: false) matching_expectations(invocation, ignoring_order: ignoring_order).first end - def match_but_out_of_order(invocation) - matching_expectations(invocation).first - end - def match_allowing_invocation(invocation) matching_expectations(invocation).detect(&:invocations_allowed?) end