[fix] Fix style; Fix start_hour and end_hour in test
This commit is contained in:
parent
1c54d38094
commit
3019a022c7
3 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ describe SchedulesController do
|
|||
|
||||
describe 'GET #happening_now' do
|
||||
before do
|
||||
@conference2 = create(:full_conference, start_date: 1.day.ago, end_date: 7.days.from_now)
|
||||
@conference2 = create(:full_conference, start_date: 1.day.ago, end_date: 7.days.from_now, start_hour: 0, end_hour: 24)
|
||||
@program = @conference2.program
|
||||
@selected_schedule = create(:schedule, program: @program)
|
||||
@program.update_attributes!(selected_schedule: @selected_schedule)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue