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:
authorFilipa Lacerda <filipa@gitlab.com>2017-04-04 11:14:46 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-04-04 11:25:05 +0300
commitd037a2e998b807d01585a48af90a3b3182eeebc5 (patch)
treec6d25746ad96060312711425d1c7600374df5a17 /spec/factories/environments.rb
parent3db1b959f6488cf861a2bdf32f1c5ff336f7a881 (diff)
Fix typo
Adds tests
Diffstat (limited to 'spec/factories/environments.rb')
-rw-r--r--spec/factories/environments.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/environments.rb b/spec/factories/environments.rb
index 0852dda6b29..3fbf24b5c7d 100644
--- a/spec/factories/environments.rb
+++ b/spec/factories/environments.rb
@@ -32,5 +32,10 @@ FactoryGirl.define do
environment.update_attribute(:deployments, [deployment])
end
end
+
+ trait :non_playable do
+ status 'created'
+ self.when 'manual'
+ end
end
end