diff options
Diffstat (limited to 'spec/features/read_only_spec.rb')
-rw-r--r-- | spec/features/read_only_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/read_only_spec.rb b/spec/features/read_only_spec.rb index 8bfaf558466..1e6f8c885d3 100644 --- a/spec/features/read_only_spec.rb +++ b/spec/features/read_only_spec.rb @@ -12,7 +12,7 @@ describe 'read-only message' do visit root_dashboard_path - expect(page).to have_content('You are on a read-only GitLab instance.') + expect(page).to have_content(_('You are on a read-only GitLab instance.')) end it 'does not show read-only banner when database is able to read-write' do @@ -20,6 +20,6 @@ describe 'read-only message' do visit root_dashboard_path - expect(page).not_to have_content('You are on a read-only GitLab instance.') + expect(page).not_to have_content(_('You are on a read-only GitLab instance.')) end end |