A platform for community discussion. Free, open, simple.
DEV: Fix random typos (#30023)
Jarek Radoszb3423c40b015
diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.gjs b/app/assets/javascripts/discourse/app/lib/plugin-api.gjsindex bbb30201cd3..487437ed5cc 100644--- a/app/assets/javascripts/discourse/app/lib/plugin-api.gjs+++ b/app/assets/javascripts/discourse/app/lib/plugin-api.gjs@@ -434,7 +434,7 @@ class PluginApi {** Example: to abort the expected behavior based on a condition* ```- * api.registerValueTransformer("example-transformer", ({next, context}) => {+ * api.registerBehaviorTransformer("example-transformer", ({next, context}) => {* if (context.property) {* // not calling next() on a behavior transformer aborts executing the expected behavior*diff --git a/app/assets/javascripts/discourse/tests/acceptance/category-edit-security-test.js b/app/assets/javascripts/discourse/tests/acceptance/category-edit-security-test.jsindex 1165cbb93e0..37f88c2b42c 100644--- a/app/assets/javascripts/discourse/tests/acceptance/category-edit-security-test.js+++ b/app/assets/javascripts/discourse/tests/acceptance/category-edit-security-test.js@@ -70,7 +70,7 @@ acceptance("Category Edit - Security", function (needs) {await availableGroups.expand();await availableGroups.selectRowByValue("everyone");- assert.dom(".row-body").exists("adds back the permission tp the list");+ assert.dom(".row-body").exists("adds back the permission to the list");assert.dom(".row-body[data-group-name='everyone'] .group-name-label")diff --git a/app/assets/javascripts/discourse/tests/integration/components/admin-schema-theme-setting/editor-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/admin-schema-theme-setting/editor-test.gjsindex 11c171c771d..f28bcc09925 100644--- a/app/assets/javascripts/discourse/tests/integration/components/admin-schema-theme-setting/editor-test.gjs+++ b/app/assets/javascripts/discourse/tests/integration/components/admin-schema-theme-setting/editor-test.gjs@@ -121,7 +121,7 @@ module(assert.strictEqual(tree.nodes[1].children.length,0,- "thie children of an active node aren't shown"+ "the children of an active node aren't shown");await click(tree.nodes[1].element);@@ -132,7 +132,7 @@ module(assert.strictEqual(tree.nodes[0].children.length,0,- "thie children of an active node aren't shown"+ "the children of an active node aren't shown");assert.true(tree.nodes[1].active);diff --git a/plugins/chat/spec/lib/chat_sdk/thread_spec.rb b/plugins/chat/spec/lib/chat_sdk/thread_spec.rbindex a6ab8a74363..94438a42017 100644--- a/plugins/chat/spec/lib/chat_sdk/thread_spec.rb+++ b/plugins/chat/spec/lib/chat_sdk/thread_spec.rb@@ -46,7 +46,7 @@ describe ChatSDK::Thread doendend- context "when the threadind is not enabled" do+ context "when the threading is not enabled" dobefore { thread_1.channel.update!(threading_enabled: false) }it "fails" dodiff --git a/spec/lib/topic_query_spec.rb b/spec/lib/topic_query_spec.rbindex 2650fed5e33..15f00845066 100644--- a/spec/lib/topic_query_spec.rb+++ b/spec/lib/topic_query_spec.rb@@ -2091,7 +2091,7 @@ RSpec.describe TopicQuery do)end- it "includes unread and trakced topics even if they're in a muted category" do+ it "includes unread and tracked topics even if they're in a muted category" donew_topic.update!(category: Fabricate(:category))CategoryUser.create!(user_id: user.id,diff --git a/spec/system/edit_category_security_spec.rb b/spec/system/edit_category_security_spec.rbindex 92cfbc96744..265d3a25fc6 100644--- a/spec/system/edit_category_security_spec.rb+++ b/spec/system/edit_category_security_spec.rb@@ -26,7 +26,7 @@ describe "Edit Category Security", type: :system dobefore { sign_in(current_user) }- it "lists the groups that can access the catgory" do+ it "lists the groups that can access the category" docategory_page.visit_security(category)expect(category_page).to have_public_access_messageexpect(category_permission_row).to have_group_permission(