summaryrefslogtreecommitdiff
path: root/spec/factories/ci/stages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/ci/stages.rb')
-rw-r--r--spec/factories/ci/stages.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb
index d3c8bf9d54f..b2ded945738 100644
--- a/spec/factories/ci/stages.rb
+++ b/spec/factories/ci/stages.rb
@@ -15,4 +15,12 @@ FactoryGirl.define do
warnings: warnings)
end
end
+
+ factory :ci_stage_entity, class: Ci::Stage do
+ project factory: :project
+ pipeline factory: :ci_empty_pipeline
+
+ name 'test'
+ status 'pending'
+ end
end