diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.gjs b/app/assets/javascripts/discourse/app/lib/plugin-api.gjs index 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.js index 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.gjs index 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.rb index 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 do end end - context "when the threadind is not enabled" do + context "when the threading is not enabled" do before { thread_1.channel.update!(threading_enabled: false) } it "fails" do diff --git a/spec/lib/topic_query_spec.rb b/spec/lib/topic_query_spec.rb index 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" do new_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.rb index 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 do before { sign_in(current_user) } - it "lists the groups that can access the catgory" do + it "lists the groups that can access the category" do category_page.visit_security(category) expect(category_page).to have_public_access_message expect(category_permission_row).to have_group_permission(