DEV: Fix random typos ()

(late) Nov 2024 edition
This commit is contained in:
Jarek Radosz 2024-12-02 00:34:05 +01:00 committed by GitHub
parent 6d4c6ee154
commit b3423c40b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions
app/assets/javascripts/discourse
app/lib
tests
acceptance
integration/components/admin-schema-theme-setting
plugins/chat/spec/lib/chat_sdk
spec

View File

@ -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
*

View File

@ -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")

View File

@ -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);

View File

@ -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

View File

@ -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,

View File

@ -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(