Commit 1a244c64 authored by Shinya Maeda's avatar Shinya Maeda

Remove next_run_at: nil from trigger_schedule_spec

parent 4688eb47
...@@ -6,7 +6,7 @@ describe Ci::TriggerSchedule, models: true do ...@@ -6,7 +6,7 @@ describe Ci::TriggerSchedule, models: true do
it { is_expected.to respond_to :ref } it { is_expected.to respond_to :ref }
describe '#schedule_next_run!' do describe '#schedule_next_run!' do
let(:trigger_schedule) { create(:ci_trigger_schedule, :nightly, next_run_at: nil) } let(:trigger_schedule) { create(:ci_trigger_schedule, :nightly) }
before do before do
trigger_schedule.schedule_next_run! trigger_schedule.schedule_next_run!
......
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