Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add note about Random behavior on MiniTest (#2579)
Ruby 3 deprecated `Random::DEFAULT`. Faker 2.22 started calling `Random` directly. For MiniTest users, to prevent duplicated values when generating random values in different test files, add `Faker::Config.random = Random.new` to `test_helper` or `rails_helper`.
- Loading branch information