summaryrefslogtreecommitdiff
path: root/spec/services/ci/create_pipeline_service_spec.rb
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-01-30 05:10:37 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-01-31 04:56:51 +0000
commite33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch)
treece5d1515f93c1e38a01c95b5e0f07f1b572f3763 /spec/services/ci/create_pipeline_service_spec.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'spec/services/ci/create_pipeline_service_spec.rb')
-rw-r--r--spec/services/ci/create_pipeline_service_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/services/ci/create_pipeline_service_spec.rb b/spec/services/ci/create_pipeline_service_spec.rb
index 8497e90bd8b..304d7dc4d7c 100644
--- a/spec/services/ci/create_pipeline_service_spec.rb
+++ b/spec/services/ci/create_pipeline_service_spec.rb
@@ -768,7 +768,7 @@ describe Ci::CreatePipelineService do
it 'does not create a merge request pipeline' do
expect(pipeline).not_to be_persisted
- expect(pipeline.errors[:base]).to eq(["No stages / jobs for this pipeline."])
+ expect(pipeline.errors[:base]).to eq([_("No stages / jobs for this pipeline.")])
end
end
end
@@ -814,7 +814,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).not_to be_persisted
expect(pipeline.errors[:base])
- .to eq(['No stages / jobs for this pipeline.'])
+ .to eq([_('No stages / jobs for this pipeline.')])
end
end
@@ -825,7 +825,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).not_to be_persisted
expect(pipeline.errors[:base])
- .to eq(['No stages / jobs for this pipeline.'])
+ .to eq([_('No stages / jobs for this pipeline.')])
end
end
end
@@ -854,7 +854,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).not_to be_persisted
expect(pipeline.errors[:base])
- .to eq(['No stages / jobs for this pipeline.'])
+ .to eq([_('No stages / jobs for this pipeline.')])
end
end
end
@@ -885,7 +885,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).not_to be_persisted
expect(pipeline.errors[:base])
- .to eq(['No stages / jobs for this pipeline.'])
+ .to eq([_('No stages / jobs for this pipeline.')])
end
end
end
@@ -914,7 +914,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).not_to be_persisted
expect(pipeline.errors[:base])
- .to eq(['No stages / jobs for this pipeline.'])
+ .to eq([_('No stages / jobs for this pipeline.')])
end
end
end