Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabina committed Dec 27, 2024
1 parent 5942b14 commit db400ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/services/update_timeslices_course_wiki_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

it 'updates current and future timeslices if new timeslice duration is smaller' do
# Update timeslice duration to 12 hours
course.flags = { timeslice_duration: 43200 }
course.flags = { timeslice_duration: { default: 43200 } }
course.save

described_class.new(course).run
Expand All @@ -112,7 +112,7 @@

it 'updates current and future timeslices if new timeslice duration is greater' do
# Update timeslice duration to 2 days
course.flags = { timeslice_duration: 172800 }
course.flags = { timeslice_duration: { default: 172800 } }
course.save

described_class.new(course).run
Expand Down

0 comments on commit db400ec

Please sign in to comment.