Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-06-07 15:56:48 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-06-07 15:56:48 +0300
commit616dd00abbd09e6ef550e2eb877ae9fe2b28812b (patch)
tree88e3e6b68a46d4fab36da951156a84efcc1ed8ae /spec
parente68b541aa4657eab5d6a3f059655d56a958647a9 (diff)
Add trait for manual deploy strategy
Diffstat (limited to 'spec')
-rw-r--r--spec/factories/project_auto_devops.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/project_auto_devops.rb b/spec/factories/project_auto_devops.rb
index a59087cd7eb..189d097d5e6 100644
--- a/spec/factories/project_auto_devops.rb
+++ b/spec/factories/project_auto_devops.rb
@@ -4,5 +4,9 @@ FactoryBot.define do
enabled true
domain "example.com"
deploy_strategy :continuous
+
+ trait :manual do
+ deploy_strategy :manual
+ end
end
end