diff options
Diffstat (limited to 'spec/services/ci/create_pipeline_service/dry_run_spec.rb')
-rw-r--r-- | spec/services/ci/create_pipeline_service/dry_run_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/create_pipeline_service/dry_run_spec.rb b/spec/services/ci/create_pipeline_service/dry_run_spec.rb index 60c56ed0f67..c21a4ef0917 100644 --- a/spec/services/ci/create_pipeline_service/dry_run_spec.rb +++ b/spec/services/ci/create_pipeline_service/dry_run_spec.rb @@ -108,7 +108,7 @@ RSpec.describe Ci::CreatePipelineService do it_behaves_like 'returns a non persisted pipeline' it 'returns a pipeline with errors', :aggregate_failures do - error_message = "test: needs 'build'" + error_message = "'test' job needs 'build' job, but it was not added to the pipeline" expect(subject.error_messages.map(&:content)).to eq([error_message]) expect(subject.errors).not_to be_empty |