2017-05-17 13:31:27 +03:00
|
|
|
FactoryGirl.define do
|
|
|
|
|
factory :booth do
|
|
|
|
|
title { Faker::Hipster.sentence }
|
|
|
|
|
description { Faker::Lorem.paragraph }
|
|
|
|
|
reasoning { Faker::Lorem.paragraph }
|
|
|
|
|
website_url { Faker::Internet.url }
|
|
|
|
|
submitter_relationship { Faker::Lorem.paragraph }
|
|
|
|
|
|
|
|
|
|
conference
|
|
|
|
|
|
|
|
|
|
after(:build) do |booth|
|
2017-07-19 19:17:26 +03:00
|
|
|
booth.responsibles << create(:booth_request).user
|
2017-05-17 13:31:27 +03:00
|
|
|
end
|
2017-07-19 19:17:26 +03:00
|
|
|
|
2017-05-17 13:31:27 +03:00
|
|
|
end
|
|
|
|
|
end
|