mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 00:27:58 +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:
@ -178,7 +178,7 @@ describe PostActionCreator do
|
||||
expect(reviewable.reviewable_scores.select(&:pending?).count).to eq(1)
|
||||
end
|
||||
|
||||
it "succesfully flags the post if it was reviewed more than 24 hours ago" do
|
||||
it "successfully flags the post if it was reviewed more than 24 hours ago" do
|
||||
reviewable.update!(updated_at: 25.hours.ago)
|
||||
post.last_version_at = 30.hours.ago
|
||||
|
||||
@ -188,7 +188,7 @@ describe PostActionCreator do
|
||||
expect(result.reviewable).to be_present
|
||||
end
|
||||
|
||||
it "succesfully flags the post if it was edited after being reviewed" do
|
||||
it "successfully flags the post if it was edited after being reviewed" do
|
||||
reviewable.update!(updated_at: 10.minutes.ago)
|
||||
post.last_version_at = 1.minute.ago
|
||||
|
||||
|
Reference in New Issue
Block a user