osem-fcy/spec/factories/booths.rb
2018-09-06 00:42:28 +02:00

16 lines
390 B
Ruby

# frozen_string_literal: true
FactoryBot.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
submitter { create(:user) }
responsible_ids { [create(:user).id] }
end
end