diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-04-04 11:14:46 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-04-04 11:25:05 +0300 |
commit | d037a2e998b807d01585a48af90a3b3182eeebc5 (patch) | |
tree | c6d25746ad96060312711425d1c7600374df5a17 /spec/factories/ci/builds.rb | |
parent | 3db1b959f6488cf861a2bdf32f1c5ff336f7a881 (diff) |
Fix typo
Adds tests
Diffstat (limited to 'spec/factories/ci/builds.rb')
-rw-r--r-- | spec/factories/ci/builds.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index f78086211f7..87a0c95c4dc 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -192,5 +192,10 @@ FactoryGirl.define do trait :no_options do options { {} } end + + trait :non_playable do + status 'created' + self.when 'manual' + end end end |