BigW Consortium Gitlab

Fix spec failure

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