2019-04-28 01:25:13 +03:00
|
|
|
FactoryBot.define do
|
2015-07-26 15:58:08 +03:00
|
|
|
factory :personal_profile do
|
2019-04-28 01:25:13 +03:00
|
|
|
first_name { 'Foo' }
|
|
|
|
last_name { 'Bar' }
|
|
|
|
organisation { 'foo inc.' }
|
|
|
|
public_email { 'foo@example.com' }
|
2015-08-05 15:05:31 +03:00
|
|
|
picture { Rack::Test::UploadedFile.new(File.join(Rails.root, 'spec', 'support', 'picture.jpg')) }
|
2019-04-28 01:25:13 +03:00
|
|
|
mobile_phone { '+359883444555' }
|
|
|
|
biography { 'Just a bio' }
|
|
|
|
github { 'foobar' }
|
|
|
|
twitter { 'foobar' }
|
2015-08-05 15:05:31 +03:00
|
|
|
user
|
|
|
|
conference
|
2015-07-26 15:58:08 +03:00
|
|
|
end
|
|
|
|
end
|