Correct "autorize" typos
This commit is contained in:
parent
f63e234b57
commit
c9ecf49d8c
4 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@ module Gitlab
|
|||
if @resource
|
||||
":wave: Hi there! Before I do anything for you, please [connect your GitLab account](#{@resource})."
|
||||
else
|
||||
":sweat_smile: Couldn't identify you, nor can I autorize you!"
|
||||
":sweat_smile: Couldn't identify you, nor can I authorize you!"
|
||||
end
|
||||
|
||||
ephemeral_response(text: message)
|
||||
|
|
|
@ -1679,7 +1679,7 @@ describe API::Issues do
|
|||
let!(:user_agent_detail) { create(:user_agent_detail, subject: issue) }
|
||||
|
||||
context 'when unauthenticated' do
|
||||
it "returns unautorized" do
|
||||
it "returns unauthorized" do
|
||||
get api("/projects/#{project.id}/issues/#{issue.iid}/user_agent_detail")
|
||||
|
||||
expect(response).to have_gitlab_http_status(401)
|
||||
|
@ -1695,7 +1695,7 @@ describe API::Issues do
|
|||
expect(json_response['akismet_submitted']).to eq(user_agent_detail.submitted)
|
||||
end
|
||||
|
||||
it "returns unautorized for non-admin users" do
|
||||
it "returns unauthorized for non-admin users" do
|
||||
get api("/projects/#{project.id}/issues/#{issue.iid}/user_agent_detail", user)
|
||||
|
||||
expect(response).to have_gitlab_http_status(403)
|
||||
|
|
|
@ -25,7 +25,7 @@ describe API::ProjectSnippets do
|
|||
expect(response).to have_gitlab_http_status(404)
|
||||
end
|
||||
|
||||
it "returns unautorized for non-admin users" do
|
||||
it "returns unauthorized for non-admin users" do
|
||||
get api("/projects/#{snippet.project.id}/snippets/#{snippet.id}/user_agent_detail", user)
|
||||
|
||||
expect(response).to have_gitlab_http_status(403)
|
||||
|
|
|
@ -314,7 +314,7 @@ describe API::Snippets do
|
|||
expect(json_response['akismet_submitted']).to eq(user_agent_detail.submitted)
|
||||
end
|
||||
|
||||
it "returns unautorized for non-admin users" do
|
||||
it "returns unauthorized for non-admin users" do
|
||||
get api("/snippets/#{snippet.id}/user_agent_detail", user)
|
||||
|
||||
expect(response).to have_gitlab_http_status(403)
|
||||
|
|
Loading…
Reference in a new issue