rspec-mocks icon indicating copy to clipboard operation
rspec-mocks copied to clipboard

Prevent mutated args from failing have_received expectations

Open JonRowe opened this issue 7 years ago • 1 comments

This came up in rspec/rspec-expectations#1017 we need to duplicate args we capture for later replay onto expectations, in case they are mutated downstream. This seems like an "ok" way to fix the problem, but maybe someone can suggest a better one?

JonRowe avatar Oct 03 '17 10:10 JonRowe

Green bar jruby which is failing due to unrelated reasons, care to re-review @myronmarston ?

JonRowe avatar Oct 06 '17 10:10 JonRowe