diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-04 16:31:15 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-04 16:31:15 +0300 |
commit | a17c90b2a7331a7427813684b04095b55c4b3cc1 (patch) | |
tree | ad76404a74e856a37bd5a01d95ea61f0155053d0 /spec/factories | |
parent | f9228f6bf46f1d1caa4c62b80b8bd6ec883d33ae (diff) |
Use enumerated status in persisted stage class
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/stages.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb index d3c8bf9d54f..ee8ac85c92e 100644 --- a/spec/factories/ci/stages.rb +++ b/spec/factories/ci/stages.rb @@ -15,4 +15,10 @@ FactoryGirl.define do warnings: warnings) end end + + factory :ci_stage_entity, class: Ci::Stage do + project factory: :empty_project + pipeline factory: :ci_empty_pipeline + status 'pending' + end end |