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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 03:06:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 03:06:26 +0300
commit587794b4b8a6e919e77ee4abe8215fa291e6a91d (patch)
tree380d6578d1ab5902bb521071128bafd4f70472ef /spec/factories/project_auto_devops.rb
parente0bd3a45d9dc6c74cac1a33ea8c03d6d8334249b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/project_auto_devops.rb')
-rw-r--r--spec/factories/project_auto_devops.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/factories/project_auto_devops.rb b/spec/factories/project_auto_devops.rb
index 4cc59c7095c..c87de30211c 100644
--- a/spec/factories/project_auto_devops.rb
+++ b/spec/factories/project_auto_devops.rb
@@ -3,23 +3,23 @@
FactoryBot.define do
factory :project_auto_devops do
project
- enabled true
- deploy_strategy :continuous
+ enabled { true }
+ deploy_strategy { :continuous }
trait :continuous_deployment do
- deploy_strategy ProjectAutoDevops.deploy_strategies[:continuous] # rubocop:disable FactoryBot/DynamicAttributeDefinedStatically
+ deploy_strategy { ProjectAutoDevops.deploy_strategies[:continuous] }
end
trait :manual_deployment do
- deploy_strategy ProjectAutoDevops.deploy_strategies[:manual] # rubocop:disable FactoryBot/DynamicAttributeDefinedStatically
+ deploy_strategy { ProjectAutoDevops.deploy_strategies[:manual] }
end
trait :timed_incremental_deployment do
- deploy_strategy ProjectAutoDevops.deploy_strategies[:timed_incremental] # rubocop:disable FactoryBot/DynamicAttributeDefinedStatically
+ deploy_strategy { ProjectAutoDevops.deploy_strategies[:timed_incremental] }
end
trait :disabled do
- enabled false
+ enabled { false }
end
end
end