diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-11-18 20:02:49 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-11-18 20:02:49 +0300 |
commit | b6a7a4783435a7fa34f26dbf3b16ab8e7ed21b88 (patch) | |
tree | ea414e11405c902f58089f307e3b40f6ec34398b /spec/factories/ci | |
parent | 100076ecbbdf3eae361a6356ddfb55b1694e4741 (diff) |
Add a lot of tests for scopes, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7508#note_18622499
Diffstat (limited to 'spec/factories/ci')
-rw-r--r-- | spec/factories/ci/builds.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 0c93bbdfe26..e7fe489e5eb 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -38,6 +38,10 @@ FactoryGirl.define do status 'canceled' end + trait :skipped do + status 'skipped' + end + trait :running do status 'running' end |