Ensure unique values in fabricators (#29515)
This commit is contained in:
parent
6f8ec6d7f8
commit
98ef38e34e
4 changed files with 6 additions and 6 deletions
|
@ -3,5 +3,5 @@
|
|||
Fabricator(:identity) do
|
||||
user { Fabricate.build(:user) }
|
||||
provider 'MyString'
|
||||
uid 'MyString'
|
||||
uid { sequence(:uid) { |i| "uid_string_#{i}" } }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue