diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-04 18:44:25 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 23:46:58 +0900 |
commit | 914bef671f54c04a0d36d8e0f8c9830d6dea7b03 (patch) | |
tree | 46067eb41371f1b5a1cbc9a27444ecbc40c45043 /spec/workers | |
parent | 27f981b2901098f894e587bbd96b09e2a0f0c404 (diff) | |
download | gitlab-ce-914bef671f54c04a0d36d8e0f8c9830d6dea7b03.tar.gz |
Move Ci::CronParser to Gitlab::Ci::CronParser
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/trigger_schedule_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/trigger_schedule_worker_spec.rb b/spec/workers/trigger_schedule_worker_spec.rb index 950f72a68d9..4df5731709b 100644 --- a/spec/workers/trigger_schedule_worker_spec.rb +++ b/spec/workers/trigger_schedule_worker_spec.rb @@ -23,7 +23,7 @@ describe TriggerScheduleWorker do end it 'updates next_run_at' do - next_time = Ci::CronParser.new(trigger_schedule.cron, trigger_schedule.cron_time_zone).next_time_from(Time.now) + next_time = Gitlab::Ci::CronParser.new(trigger_schedule.cron, trigger_schedule.cron_time_zone).next_time_from(Time.now) expect(Ci::TriggerSchedule.last.next_run_at).to eq(next_time) end end |