osem-fcy/spec/factories/splashpages.rb

26 lines
529 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-03 20:48:28 +02:00
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
factory :splashpage do
2018-11-13 18:01:49 -08:00
public { false }
2016-04-30 17:56:23 +02:00
factory :full_splashpage do
2018-11-13 18:01:49 -08:00
public { true }
include_tracks { true }
include_program { true }
include_social_media { true }
include_venue { true }
include_tickets { true }
include_registrations { true }
include_sponsors { true }
include_lodgings { true }
include_cfp { true }
2016-04-30 17:56:23 +02:00
end
end
end