summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-04 21:22:12 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-06 23:46:59 +0900
commit4a5c6a8e2953baeceb33d281d23d2c305ff884fa (patch)
treee16e8cd0a6f2cb225574c5bd8a75be5f8825c95e /spec/factories
parent0c153af73df3d5b10915cf9d32af728f9b6e8e98 (diff)
downloadgitlab-ce-4a5c6a8e2953baeceb33d281d23d2c305ff884fa.tar.gz
Rename cron_nightly_build to nightly
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/trigger_schedules.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/ci/trigger_schedules.rb b/spec/factories/ci/trigger_schedules.rb
index 8aafbc1f81b..9c16d45b49a 100644
--- a/spec/factories/ci/trigger_schedules.rb
+++ b/spec/factories/ci/trigger_schedules.rb
@@ -14,17 +14,17 @@ FactoryGirl.define do
end
end
- trait :cron_nightly_build do
+ trait :nightly do
cron '0 1 * * *'
cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end
- trait :cron_weekly_build do
+ trait :weekly do
cron '0 1 * * 6'
cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end
- trait :cron_monthly_build do
+ trait :monthly do
cron '0 1 22 * *'
cron_time_zone Gitlab::Ci::CronParser::VALID_SYNTAX_SAMPLE_TIME_ZONE
end