Commit ea24db29 authored by Fabio Pitino's avatar Fabio Pitino

Merge branch 'sh-fix-credit-card-typo' into 'master'

Fix typo with credit card

See merge request gitlab-org/gitlab!64817
parents 6e289e0f ac0b29c6
......@@ -64,7 +64,7 @@ module EE
return if project.shared_runners_enabled
unless current_user.has_required_credit_card_to_enable_shared_runners?(project)
project.errors.add(:shared_runners_enabled, _('cannot be enabled until a valid credit credit is on file'))
project.errors.add(:shared_runners_enabled, _('cannot be enabled until a valid credit card is on file'))
end
end
......
......@@ -60,7 +60,7 @@ RSpec.describe Projects::RunnersController do
project.reload
expect(response).to have_gitlab_http_status(:unauthorized)
expect(json_response['error']).to eq('Shared runners enabled cannot be enabled until a valid credit credit is on file')
expect(json_response['error']).to eq('Shared runners enabled cannot be enabled until a valid credit card is on file')
expect(project.shared_runners_enabled).to eq(false)
end
end
......
......@@ -70,7 +70,7 @@ RSpec.describe Projects::UpdateService, '#execute' do
project.reload
expect(result).to eq(status: :error, message: 'Shared runners enabled cannot be enabled until a valid credit credit is on file')
expect(result).to eq(status: :error, message: 'Shared runners enabled cannot be enabled until a valid credit card is on file')
expect(project.shared_runners_enabled).to eq(false)
end
end
......
......@@ -37937,7 +37937,7 @@ msgstr ""
msgid "cannot be enabled unless all domains have TLS certificates"
msgstr ""
msgid "cannot be enabled until a valid credit credit is on file"
msgid "cannot be enabled until a valid credit card is on file"
msgstr ""
msgid "cannot be modified"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment