2014-08-07 14:05:13 +03:00
|
|
|
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
|
|
|
factory :speaker_profile do
|
|
|
|
first_name "John"
|
|
|
|
last_name "Doe"
|
|
|
|
organisation "Example Org"
|
|
|
|
public_email "a@b.com"
|
2014-08-31 16:33:42 +03:00
|
|
|
picture { Rack::Test::UploadedFile.new(File.join(Rails.root, 'spec', 'support', 'picture.jpg')) }
|
2014-08-07 14:05:13 +03:00
|
|
|
mobile_phone "0883444555"
|
|
|
|
biography "Lorem ipsum"
|
|
|
|
github "octocat"
|
|
|
|
twitter "handle"
|
|
|
|
user
|
|
|
|
end
|
|
|
|
end
|