Commit 67e6511
authored
Improve
* 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#deterministically_verify helper (#2828)1 parent ea21d56 commit 67e6511
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
0 commit comments