summaryrefslogtreecommitdiff
path: root/spec/models/project_services/teamcity_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/models/project_services/teamcity_service_spec.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'spec/models/project_services/teamcity_service_spec.rb')
-rw-r--r--spec/models/project_services/teamcity_service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/project_services/teamcity_service_spec.rb b/spec/models/project_services/teamcity_service_spec.rb
index 64b4efca43a..c01608ab4f6 100644
--- a/spec/models/project_services/teamcity_service_spec.rb
+++ b/spec/models/project_services/teamcity_service_spec.rb
@@ -179,25 +179,25 @@ describe TeamcityService, :use_clean_rails_memory_store_caching do
end
it 'sets commit status to "success" when build status contains SUCCESS' do
- stub_request(build_status: 'YAY SUCCESS!')
+ stub_request(build_status: _('YAY SUCCESS!'))
is_expected.to eq('success')
end
it 'sets commit status to "failed" when build status contains FAILURE' do
- stub_request(build_status: 'NO FAILURE!')
+ stub_request(build_status: _('NO FAILURE!'))
is_expected.to eq('failed')
end
it 'sets commit status to "pending" when build status contains Pending' do
- stub_request(build_status: 'NO Pending!')
+ stub_request(build_status: _('NO Pending!'))
is_expected.to eq('pending')
end
it 'sets commit status to :error when build status is unknown' do
- stub_request(build_status: 'FOO BAR!')
+ stub_request(build_status: _('FOO BAR!'))
is_expected.to eq(:error)
end