Commit bc4ef84b authored by Robert Speicher's avatar Robert Speicher

Fix typo in `push_rule_committer_not_verified` interpolation

parent a097c137
......@@ -9,7 +9,7 @@ module EE
ERROR_MESSAGES = {
push_rule_branch_name: "Branch name does not follow the pattern '%{branch_name_regex}'",
push_rule_committer_not_verified: "Comitter email '%{commiter_email}' is not verified.",
push_rule_committer_not_verified: "Comitter email '%{committer_email}' is not verified.",
push_rule_committer_not_allowed: "You cannot push commits for '%{committer_email}'. You can only push commits that were committed with one of your own verified emails."
}.freeze
......
......@@ -379,7 +379,7 @@ describe Gitlab::Checks::ChangeAccess do
expect { subject.exec }
.to raise_error(Gitlab::GitAccess::UnauthorizedError,
"Comitter email '%{commiter_email}' is not verified.")
"Comitter email 'secondary_email@user.com' is not verified.")
end
it 'raises an error when using an unknown email' do
......
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