mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: Fix random typos (#19973)
This commit is contained in:
parent
1bc39c1a4f
commit
17deb79fcb
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user