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-11-07 03:06:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-07 03:06:18 +0300
commitee6b185429b62857a5e490526095a7699e8539f3 (patch)
treede54f53b76c5da2bf05cbd333e1910bbe655d653 /spec/factories/deployments.rb
parentcf85de264d049f1f8ff14b23f38f8331ae4c60fa (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/deployments.rb')
-rw-r--r--spec/factories/deployments.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/deployments.rb b/spec/factories/deployments.rb
index f4da206990c..f8738d28d83 100644
--- a/spec/factories/deployments.rb
+++ b/spec/factories/deployments.rb
@@ -51,6 +51,10 @@ FactoryBot.define do
finished_at { Time.now }
end
+ trait :created do
+ status { :created }
+ end
+
# This trait hooks the state maechine's events
trait :succeed do
after(:create) do |deployment, evaluator|