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:
authorLin Jen-Shin <godfat@godfat.org>2016-11-18 20:02:49 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-11-18 20:02:49 +0300
commitb6a7a4783435a7fa34f26dbf3b16ab8e7ed21b88 (patch)
treeea414e11405c902f58089f307e3b40f6ec34398b /spec/factories/ci
parent100076ecbbdf3eae361a6356ddfb55b1694e4741 (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.rb4
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