Commit ac0b29c6 authored by Stan Hu's avatar Stan Hu

Fix typo with credit card

"credit credit" -> "credit card"

Changelog: fixed
EE: true
parent 6eb3e5a4
......@@ -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
......
......@@ -37934,7 +37934,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