Chore: Added tests for contacts_controller (#509)
- Tests for contacts controller Addresses: #37
This commit is contained in:
@@ -5,6 +5,7 @@ FactoryBot.define do
|
||||
sequence(:name) { |n| "Widget #{n}" }
|
||||
sequence(:email) { |n| "widget-#{n}@example.com" }
|
||||
phone_number { '+123456789011' }
|
||||
avatar { fixture_file_upload(Rails.root.join('spec/assets/avatar.png'), 'image/png') }
|
||||
account
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user