diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-01-30 05:10:37 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-01-31 04:56:51 +0000 |
commit | e33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch) | |
tree | ce5d1515f93c1e38a01c95b5e0f07f1b572f3763 /spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-e33e3d29ae56ddd10b66513c35f3e318ea375cb9.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb')
-rw-r--r-- | spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb b/spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb index 70f3a812ee9..d1d450f2a22 100644 --- a/spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb +++ b/spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb @@ -31,7 +31,7 @@ describe 'Set up Mattermost slash commands', :js do click_on 'Save changes' expect(current_path).to eq(project_settings_integrations_path(project)) - expect(page).to have_content('Mattermost slash commands settings saved, but not activated.') + expect(page).to have_content(_('Mattermost slash commands settings saved, but not activated.')) end it 'redirects to the integrations page after activating' do @@ -42,7 +42,7 @@ describe 'Set up Mattermost slash commands', :js do click_on 'Save changes' expect(current_path).to eq(project_settings_integrations_path(project)) - expect(page).to have_content('Mattermost slash commands activated.') + expect(page).to have_content(_('Mattermost slash commands activated.')) end it 'shows the add to mattermost button' do @@ -64,7 +64,7 @@ describe 'Set up Mattermost slash commands', :js do click_link 'Add to Mattermost' expect(page).to have_content('The team where the slash commands will be used in') - expect(page).to have_content('This is the only available team that you are a member of.') + expect(page).to have_content(_('This is the only available team that you are a member of.')) end it 'shows a disabled prefilled select if user is a member of 1 team' do @@ -94,7 +94,7 @@ describe 'Set up Mattermost slash commands', :js do click_link 'Add to Mattermost' expect(page).to have_content('Select the team where the slash commands will be used in') - expect(page).to have_content('The list shows all available teams that you are a member of.') + expect(page).to have_content(_('The list shows all available teams that you are a member of.')) end it 'shows a select with team options user is a member of multiple teams' do |