parent
a620950383
commit
ed55e2bf3a
25 changed files with 529 additions and 131 deletions
|
|
@ -7,8 +7,6 @@ FactoryGirl.define do
|
|||
timezone 'Amsterdam'
|
||||
start_date { Date.today }
|
||||
end_date { 6.days.from_now }
|
||||
registration_start_date { 3.days.from_now }
|
||||
registration_end_date { 5.days.from_now }
|
||||
make_conference_public true
|
||||
venue
|
||||
end
|
||||
|
|
|
|||
9
spec/factories/registration_periods.rb
Normal file
9
spec/factories/registration_periods.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :registration_period do
|
||||
start_date { 3.days.from_now }
|
||||
end_date { 5.days.from_now }
|
||||
description 'Lorem ipsum dolorem ...'
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue