diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2015-12-30 16:37:47 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2015-12-30 16:37:47 +0100 |
commit | a17bf380cb4c90696349f268ca4a8c2fedc1f545 (patch) | |
tree | 20ca883b622b121242bc1b55afe7bb0fe6b5cded /spec/factories/ci | |
parent | 593d87ea54eec4d60cf7eeb404af82d9e015b066 (diff) | |
download | gitlab-ce-a17bf380cb4c90696349f268ca4a8c2fedc1f545.tar.gz |
Add cancel/retry features to builds API
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 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 |