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:
authorKamil Trzciński <ayufan@ayufan.eu>2017-06-07 14:32:29 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-06-07 14:32:29 +0300
commit5c26f4718b85c921c1649c575ffaea6c67f15657 (patch)
tree7d5a8101215fd6173925d61b05502004961785f7 /spec/factories
parentacd0b691a4a23bca1d90f68e2fab9004ea259a0e (diff)
parent4edde47e7332bf3c29f030dfdac6a017f4ea8b6c (diff)
Merge branch 'feature/gb/persist-pipeline-stages' into 'master'
Persist stages in the database Closes #26481 See merge request !11790
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/ci/stages.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb
index d37eabb3e8c..d3c8bf9d54f 100644
--- a/spec/factories/ci/stages.rb
+++ b/spec/factories/ci/stages.rb
@@ -1,5 +1,5 @@
FactoryGirl.define do
- factory :ci_stage, class: Ci::Stage do
+ factory :ci_stage, class: Ci::LegacyStage do
skip_create
transient do
@@ -10,7 +10,9 @@ FactoryGirl.define do
end
initialize_with do
- Ci::Stage.new(pipeline, name: name, status: status, warnings: warnings)
+ Ci::LegacyStage.new(pipeline, name: name,
+ status: status,
+ warnings: warnings)
end
end
end