summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 16:37:47 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2015-12-30 16:37:47 +0100
commita17bf380cb4c90696349f268ca4a8c2fedc1f545 (patch)
tree20ca883b622b121242bc1b55afe7bb0fe6b5cded /spec/factories
parent593d87ea54eec4d60cf7eeb404af82d9e015b066 (diff)
downloadgitlab-ce-a17bf380cb4c90696349f268ca4a8c2fedc1f545.tar.gz
Add cancel/retry features to builds API
Diffstat (limited to 'spec/factories')
-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