Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
#deterministically_verify
helper (faker-ruby#2828)
* Ensure that the #deterministically_verify helper works as expected when :random is provided * Prevent the #deterministically_verify helper from mutating the Faker::Config.random state on each :depth iteration * Prevent the #deterministically_verify helper from performing assertions on a generated value against itself * Remove the multi-line block chain from the #deterministically_verify helper implementation * Replace #inject with #map on the #deterministically_verify helper implementation * Use yield instead of &block on the #deterministically_verify helper * Move the default value of :random to the #deterministically_verify method signature * Provide :seed instead of :random instance to the #deterministically_verify helper method * Update #deterministically_verify helper method documentation
- Loading branch information