mirror of
https://github.com/openSUSE/osem.git
synced 2026-02-06 20:23:15 -05:00
Remove redundant association Note: a conference created with :full_conference already has a cfp
14 lines
288 B
Ruby
14 lines
288 B
Ruby
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
FactoryGirl.define do
|
|
factory :program do
|
|
schedule_public false
|
|
schedule_fluid false
|
|
conference
|
|
|
|
trait :with_cfp do
|
|
after(:create) { |program| create(:cfp, program: program) }
|
|
end
|
|
end
|
|
end
|