diff options
Diffstat (limited to 'spec/features/projects/settings/visibility_settings_spec.rb')
-rw-r--r-- | spec/features/projects/settings/visibility_settings_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/settings/visibility_settings_spec.rb b/spec/features/projects/settings/visibility_settings_spec.rb index 1fbc108697f..a4af9b23ecc 100644 --- a/spec/features/projects/settings/visibility_settings_spec.rb +++ b/spec/features/projects/settings/visibility_settings_spec.rb @@ -14,7 +14,7 @@ describe 'Projects > Settings > Visibility settings', :js do visibility_select_container = find('.project-visibility-setting') expect(visibility_select_container.find('select').value).to eq project.visibility_level.to_s - expect(visibility_select_container).to have_content 'The project can be accessed by anyone, regardless of authentication.' + expect(visibility_select_container).to have_content _('The project can be accessed by anyone, regardless of authentication.') end it 'project visibility description updates on change' do @@ -23,7 +23,7 @@ describe 'Projects > Settings > Visibility settings', :js do visibility_select.select('Private') expect(visibility_select.value).to eq '0' - expect(visibility_select_container).to have_content 'Access must be granted explicitly to each user.' + expect(visibility_select_container).to have_content _('Access must be granted explicitly to each user.') end context 'merge requests select' do @@ -72,7 +72,7 @@ describe 'Projects > Settings > Visibility settings', :js do visibility_select_container = find('.project-visibility-setting') expect(visibility_select_container).to have_selector 'select[name="project[visibility_level]"]:disabled' - expect(visibility_select_container).to have_content 'The project can be accessed by anyone, regardless of authentication.' + expect(visibility_select_container).to have_content _('The project can be accessed by anyone, regardless of authentication.') end end end |