summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-04 18:44:25 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-06 23:46:58 +0900
commit914bef671f54c04a0d36d8e0f8c9830d6dea7b03 (patch)
tree46067eb41371f1b5a1cbc9a27444ecbc40c45043 /spec/workers
parent27f981b2901098f894e587bbd96b09e2a0f0c404 (diff)
downloadgitlab-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.rb2
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