Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Make changes to a copy of the options parameter #2454
If the method alters the options hash, clients calling this method in a loop
Alteration of the options hash is causing failure in the backup gem, in cases where there are more than 1000 objects to delete. See backup/backup#510
About the test: as this is behaviour which is tested in the Mock version of the method, I have duplicated code between the Real and Mock versions.