diff options
Diffstat (limited to 'spec/features/admin/admin_settings_spec.rb')
-rw-r--r-- | spec/features/admin/admin_settings_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb index 04f39b807d7..99a3eff8212 100644 --- a/spec/features/admin/admin_settings_spec.rb +++ b/spec/features/admin/admin_settings_spec.rb @@ -128,13 +128,13 @@ describe 'Admin updates settings' do accept_terms(admin) page.within('.as-terms') do - check 'Require all users to accept Terms of Service and Privacy Policy when they access GitLab.' - fill_in 'Terms of Service Agreement', with: 'Be nice!' + check _('Require all users to accept Terms of Service and Privacy Policy when they access GitLab.') + fill_in 'Terms of Service Agreement', with: _('Be nice!') click_button 'Save changes' end expect(Gitlab::CurrentSettings.enforce_terms).to be(true) - expect(Gitlab::CurrentSettings.terms).to eq 'Be nice!' + expect(Gitlab::CurrentSettings.terms).to eq _('Be nice!') expect(page).to have_content 'Application settings saved successfully' end |