mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix rspec tests because of the changes to the cfp
Remove redundant association Note: a conference created with :full_conference already has a cfp
This commit is contained in:
parent
2bff918556
commit
a1124546f1
16 changed files with 78 additions and 74 deletions
|
|
@ -4,6 +4,7 @@ FactoryGirl.define do
|
|||
factory :cfp do
|
||||
start_date { 1.day.ago }
|
||||
end_date { 6.days.from_now }
|
||||
cfp_type 'events'
|
||||
|
||||
program
|
||||
end
|
||||
|
|
|
|||
|
|
@ -5,5 +5,9 @@ FactoryGirl.define do
|
|||
schedule_public false
|
||||
schedule_fluid false
|
||||
conference
|
||||
|
||||
trait :with_cfp do
|
||||
after(:create) { |program| create(:cfp, program: program) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue