diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-01 12:00:37 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-01 12:00:37 +0200 |
commit | 78b2f65cb5320a6a28c1e26bb6ee792a54e1b674 (patch) | |
tree | a737219462c734afae30236fbf30f4cdd05de4fa /spec/factories | |
parent | c00d72b6f33d50b1c5cd6948d54b3addf11f9104 (diff) | |
download | gitlab-ce-78b2f65cb5320a6a28c1e26bb6ee792a54e1b674.tar.gz |
Rename `Ci::Stage` class to `Ci::LegacyStage`
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/stages.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/factories/ci/stages.rb b/spec/factories/ci/stages.rb index 7f557b25ccb..884661e1030 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 transient do name 'test' status nil @@ -8,7 +8,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 |