osem-fcy/spec/factories/booths.rb

17 lines
390 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
2017-05-17 13:31:27 +03:00
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
2017-07-20 14:20:46 +03:00
submitter { create(:user) }
2017-07-16 18:20:12 +03:00
responsible_ids { [create(:user).id] }
2017-05-17 13:31:27 +03:00
end
end