Commit ed368f8c authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix spec failure

parent 3ea4a139
...@@ -57,7 +57,7 @@ describe TriggerScheduleWorker do ...@@ -57,7 +57,7 @@ describe TriggerScheduleWorker do
end end
context 'when next_run_at is nil' do context 'when next_run_at is nil' do
before before do
schedule = create(:ci_trigger_schedule, :nightly) schedule = create(:ci_trigger_schedule, :nightly)
schedule.update_column(:next_run_at, nil) schedule.update_column(:next_run_at, nil)
end 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