DEV: Fix random typos (#19973)

This commit is contained in:
Jarek Radosz 2023-01-24 15:41:01 +01:00 committed by GitHub
parent 1bc39c1a4f
commit 17deb79fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View File

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

View File

@ -306,7 +306,7 @@ class UploadsController < ApplicationController
private
# 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)

View File

@ -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" do
chat_page.visit_channel(channel_1)
click_link(link)
@ -83,7 +83,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do
channel_2.add(current_user)
end
it "highglights the correct message" do
it "highlights the correct message" do
chat_page.visit_channel(channel_2)
click_link(link)
@ -94,7 +94,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do
end
context "when navigating directly to a message link" do
it "highglights the correct message" do
it "highlights the correct message" do
visit("/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" do
visit("/")
chat_page.open_from_header
chat_drawer_page.open_channel(channel_1)

View File

@ -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 do
fab!(:channel_1) { Fabricate(:chat_channel) }
fab!(:current_user) { Fabricate(:user) }
@ -15,7 +15,7 @@ RSpec.describe "Shorcuts | chat composer", type: :system, js: true do
end
context "when using meta + l" do
xit "handles insert link shorcut" do
xit "handles insert link shortcut" do
end
end

View File

@ -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 do
fab!(:current_user) { Fabricate(:admin) }
let(:chat) { PageObjects::Pages::Chat.new }