Commit c85bf585 authored by Jiri Strojil's avatar Jiri Strojil

Fixed test

parent 22dfbe7b
Pipeline #32339 failed with stage
in 36 minutes and 44 seconds
......@@ -26,7 +26,7 @@ class SemesterProcessTest < ActiveSupport::TestCase
end
test 'through hours relation' do
semester_hour = create(:hour, hourable: @mission, volunteer: @volunteer)
semester_hour = create(:hour, hourable: @mission, volunteer: @volunteer, meeting_date: @subject.semester.begin + 3.days)
@subject.reload
assert @subject.hours.include? semester_hour
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment