summaryrefslogtreecommitdiff
path: root/spec/factories
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/factories
parent27f981b2901098f894e587bbd96b09e2a0f0c404 (diff)
downloadgitlab-ce-914bef671f54c04a0d36d8e0f8c9830d6dea7b03.tar.gz
Move Ci::CronParser to Gitlab::Ci::CronParser
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/trigger_schedules.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/factories/ci/trigger_schedules.rb b/spec/factories/ci/trigger_schedules.rb
index 2e6a35c6416..8aafbc1f81b 100644
--- a/spec/factories/ci/trigger_schedules.rb
+++ b/spec/factories/ci/trigger_schedules.rb
@@ -2,7 +2,7 @@ FactoryGirl.define do
factory :ci_trigger_schedule, class: Ci::TriggerSchedule do
trigger factory: :ci_trigger_for_trigger_schedule
cron '0 1 * * *'
- cron_time_zone Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
+ cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
after(:build) do |trigger_schedule, evaluator|
trigger_schedule.update!(project: trigger_schedule.trigger.project)
@@ -16,17 +16,17 @@ FactoryGirl.define do
trait :cron_nightly_build do
cron '0 1 * * *'
- cron_time_zone Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
+ cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end
trait :cron_weekly_build do
cron '0 1 * * 6'
- cron_time_zone Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
+ cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end
trait :cron_monthly_build do
cron '0 1 22 * *'
- cron_time_zone Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
+ cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end
end
end