Add tests for program event on specified date
This commit is contained in:
parent
89af26bf18
commit
16984aa185
2 changed files with 35 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
FactoryGirl.define do
|
||||
factory :event_schedule do
|
||||
start_time DateTime.parse("#{Date.today} 10:00").utc
|
||||
event
|
||||
after(:build) do |event_schedule|
|
||||
program = event_schedule.event.program
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue