diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-04-04 09:14:46 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-04-04 09:25:05 +0100 |
commit | d037a2e998b807d01585a48af90a3b3182eeebc5 (patch) | |
tree | c6d25746ad96060312711425d1c7600374df5a17 /spec/factories/environments.rb | |
parent | 3db1b959f6488cf861a2bdf32f1c5ff336f7a881 (diff) | |
download | gitlab-ce-d037a2e998b807d01585a48af90a3b3182eeebc5.tar.gz |
Fix typo
Adds tests
Diffstat (limited to 'spec/factories/environments.rb')
-rw-r--r-- | spec/factories/environments.rb | 5 |
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 |