This commit is contained in:
Pete Matsyburka committed 2024-08-19 19:51:24 +03:00
1 parent a9cfd2bcfc
commit 50c342ec5c
1 file changed
+4
+4
View File
@@ -4,5 +4,9 @@ FactoryBot.define do
factory :submitter do
submission
email { Faker::Internet.email }
before(:create) do |submitter, _|
submitter.account_id = submitter.submission.account_id
end
end
end