add basic API specs
This commit is contained in:
committed by
Pete Matsyburka
parent
f90a4e5576
commit
eead1b2bc4
@@ -4,6 +4,8 @@ FactoryBot.define do
|
||||
factory :submitter do
|
||||
submission
|
||||
email { Faker::Internet.email }
|
||||
name { Faker::Name.name }
|
||||
phone { Faker::PhoneNumber.phone_number }
|
||||
|
||||
before(:create) do |submitter, _|
|
||||
submitter.account_id = submitter.submission.account_id
|
||||
|
||||
Reference in New Issue
Block a user