Skip to content

Fix edge case that triggered “can't add a new key into hash during iteration"

gitlab-qa-bot requested to merge fix-710 into master

Created by: myronmarston

This was triggered when a double was used as a with arg but was otherwise unused — in this case, there was no mock proxy for it, but while verifying one would get created (due to internal implementation details). Doing so in a each_value loop caused the error.

Fixes #710 (closed).

/cc @samphippen

Merge request reports