mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Correct typos and spelling mistakes (#12812)
Over the years we accrued many spelling mistakes in the code base. This PR attempts to fix spelling mistakes and typos in all areas of the code that are extremely safe to change - comments - test descriptions - other low risk areas
This commit is contained in:
@ -32,7 +32,7 @@ RSpec.describe Admin::UsersController do
|
||||
end
|
||||
end
|
||||
|
||||
it "logs only 1 enty" do
|
||||
it "logs only 1 entry" do
|
||||
expect do
|
||||
get "/admin/users/list.json", params: { show_emails: "true" }
|
||||
end.to change { UserHistory.where(action: UserHistory.actions[:check_email], acting_user_id: admin.id).count }.by(1)
|
||||
@ -98,7 +98,7 @@ RSpec.describe Admin::UsersController do
|
||||
|
||||
let(:evil_trout) { Fabricate(:evil_trout) }
|
||||
|
||||
it "does nothing without uesrs" do
|
||||
it "does nothing without users" do
|
||||
put "/admin/users/approve-bulk.json"
|
||||
evil_trout.reload
|
||||
expect(response.status).to eq(200)
|
||||
|
Reference in New Issue
Block a user