diff options
Diffstat (limited to 'spec/views/shared/deploy_tokens/_form.html.haml_spec.rb')
-rw-r--r-- | spec/views/shared/deploy_tokens/_form.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/shared/deploy_tokens/_form.html.haml_spec.rb b/spec/views/shared/deploy_tokens/_form.html.haml_spec.rb index 3508ba8cca9..5ac42952f78 100644 --- a/spec/views/shared/deploy_tokens/_form.html.haml_spec.rb +++ b/spec/views/shared/deploy_tokens/_form.html.haml_spec.rb @@ -19,9 +19,9 @@ RSpec.describe 'shared/deploy_tokens/_form.html.haml' do render 'shared/deploy_tokens/form', token: token, group_or_project: subject if shows_package_registry_permissions - expect(rendered).to have_content('Allows read access to the package registry') + expect(rendered).to have_content('Allows read-only access to the package registry.') else - expect(rendered).not_to have_content('Allows read access to the package registry') + expect(rendered).not_to have_content('Allows read-only access to the package registry.') end end end |