A platform for community discussion. Free, open, simple.
DEV: Fix random typos (#19973)
Jarek Radosz17deb79fcb20
diff --git a/app/assets/javascripts/discourse/tests/acceptance/composer-test.js b/app/assets/javascripts/discourse/tests/acceptance/composer-test.jsindex f38fdbaf414..e421601e62c 100644--- a/app/assets/javascripts/discourse/tests/acceptance/composer-test.js+++ b/app/assets/javascripts/discourse/tests/acceptance/composer-test.js@@ -1269,7 +1269,7 @@ acceptance("Composer - Default category", function (needs) {name: "General",slug: "general",permission: 1,- ltopic_template: null,+ topic_template: null,},{id: 2,@@ -1306,7 +1306,7 @@ acceptance("Composer - Uncategorized category", function (needs) {name: "General",slug: "general",permission: 1,- ltopic_template: null,+ topic_template: null,},{id: 2,@@ -1337,7 +1337,7 @@ acceptance("Composer - default category not set", function (needs) {name: "General",slug: "general",permission: 1,- ltopic_template: null,+ topic_template: null,},{id: 2,diff --git a/app/controllers/uploads_controller.rb b/app/controllers/uploads_controller.rbindex 218b5ae88dd..b71240638ee 100644--- a/app/controllers/uploads_controller.rb+++ b/app/controllers/uploads_controller.rb@@ -306,7 +306,7 @@ class UploadsController < ApplicationControllerprivate- # We can pre-emptively check size for attachments, but not for images+ # We can preemptively check size for attachments, but not for images# as they may be further reduced in size by UploadCreator (at this point# they may have already been reduced in size by preprocessors)def file_size_too_big?(file_name, file_size)diff --git a/plugins/chat/spec/system/navigating_to_message_spec.rb b/plugins/chat/spec/system/navigating_to_message_spec.rbindex 7dc60d697e2..64d6f75ccba 100644--- a/plugins/chat/spec/system/navigating_to_message_spec.rb+++ b/plugins/chat/spec/system/navigating_to_message_spec.rb@@ -50,7 +50,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do)end- it "highglights the correct message" do+ it "highlights the correct message" dochat_page.visit_channel(channel_1)click_link(link)@@ -83,7 +83,7 @@ RSpec.describe "Navigating to message", type: :system, js: true dochannel_2.add(current_user)end- it "highglights the correct message" do+ it "highlights the correct message" dochat_page.visit_channel(channel_2)click_link(link)@@ -94,7 +94,7 @@ RSpec.describe "Navigating to message", type: :system, js: true doendcontext "when navigating directly to a message link" do- it "highglights the correct message" do+ it "highlights the correct message" dovisit("/chat/channel/#{channel_1.id}/-?messageId=#{first_message.id}")expect(page).to have_css(@@ -136,7 +136,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do)end- it "highglights the correct message" do+ it "highlights the correct message" dovisit("/")chat_page.open_from_headerchat_drawer_page.open_channel(channel_1)diff --git a/plugins/chat/spec/system/shortcuts/chat_composer_spec.rb b/plugins/chat/spec/system/shortcuts/chat_composer_spec.rbindex 7126ffa8322..dddfa46baa9 100644--- a/plugins/chat/spec/system/shortcuts/chat_composer_spec.rb+++ b/plugins/chat/spec/system/shortcuts/chat_composer_spec.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-RSpec.describe "Shorcuts | chat composer", type: :system, js: true do+RSpec.describe "Shortcuts | chat composer", type: :system, js: true dofab!(:channel_1) { Fabricate(:chat_channel) }fab!(:current_user) { Fabricate(:user) }@@ -15,7 +15,7 @@ RSpec.describe "Shorcuts | chat composer", type: :system, js: true doendcontext "when using meta + l" do- xit "handles insert link shorcut" do+ xit "handles insert link shortcut" doendenddiff --git a/plugins/chat/spec/system/shortcuts/sidebar_spec.rb b/plugins/chat/spec/system/shortcuts/sidebar_spec.rbindex ccf6c298e50..65427075c0f 100644--- a/plugins/chat/spec/system/shortcuts/sidebar_spec.rb+++ b/plugins/chat/spec/system/shortcuts/sidebar_spec.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-RSpec.describe "Shorcuts | sidebar", type: :system, js: true do+RSpec.describe "Shortcuts | sidebar", type: :system, js: true dofab!(:current_user) { Fabricate(:admin) }let(:chat) { PageObjects::Pages::Chat.new }