osem-fcy/spec/factories/cfps.rb
AEtherC0r3 a1124546f1 Fix rspec tests because of the changes to the cfp
Remove redundant association
Note: a conference created with :full_conference already has a cfp
2017-06-27 21:16:46 +03:00

11 lines
217 B
Ruby

# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :cfp do
start_date { 1.day.ago }
end_date { 6.days.from_now }
cfp_type 'events'
program
end
end