diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-03 08:21:06 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-03 08:21:06 +0300 |
commit | 30464bceaac08bf7a8415df7d3b1e0ddf6182762 (patch) | |
tree | 39a5ac6dc729edc105d7654835ac66d9aa16599d /spec/services/ci | |
parent | 9ad20891435f1f51ae6e8e951b84131480d1ab97 (diff) | |
parent | b2e1b70927f94a50a83e5afef359775894bd6b03 (diff) |
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'spec/services/ci')
-rw-r--r-- | spec/services/ci/retry_build_service_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/services/ci/retry_build_service_spec.rb b/spec/services/ci/retry_build_service_spec.rb index cc200f6fc0a..e1cb7ed8110 100644 --- a/spec/services/ci/retry_build_service_spec.rb +++ b/spec/services/ci/retry_build_service_spec.rb @@ -6,7 +6,9 @@ describe Ci::RetryBuildService do set(:pipeline) { create(:ci_pipeline, project: project) } let(:stage) do - Ci::Stage.create!(project: project, pipeline: pipeline, name: 'test') + create(:ci_stage_entity, project: project, + pipeline: pipeline, + name: 'test') end let(:build) { create(:ci_build, pipeline: pipeline, stage_id: stage.id) } |