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:
authorTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 18:37:47 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 18:37:47 +0300
commita17bf380cb4c90696349f268ca4a8c2fedc1f545 (patch)
tree20ca883b622b121242bc1b55afe7bb0fe6b5cded /spec/factories/ci
parent593d87ea54eec4d60cf7eeb404af82d9e015b066 (diff)
Add cancel/retry features to builds API
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 4551ee57d78..ce68457f86b 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -60,5 +60,9 @@ FactoryGirl.define do
id 999
trace 'BUILD TRACE'
end
+
+ factory :ci_build_canceled do
+ status 'canceled'
+ end
end
end