DEV: Fix random typos (#22078)

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
This commit is contained in:
Jarek Radosz
2023-06-13 22:02:21 +02:00
committed by GitHub
parent 286dfcacb4
commit dae3970bad
22 changed files with 29 additions and 30 deletions

View File

@ -46,7 +46,7 @@ describe "Composer Form Templates", type: :system do
Fabricate(
:category,
name: "Multiple",
slug: "mulitple",
slug: "multiple",
topic_count: 10,
form_template_ids: [form_template_1.id, form_template_2.id],
)
@ -111,7 +111,7 @@ describe "Composer Form Templates", type: :system do
expect(composer).to have_composer_preview_toggle
end
it "hides the preivew when a category with a form template is selected" do
it "hides the preview when a category with a form template is selected" do
category_page.visit(category_with_template_1)
category_page.new_topic_button.click
expect(composer).to have_no_composer_preview

View File

@ -4,7 +4,6 @@ describe "Composer using review_media", type: :system do
fab!(:user) { Fabricate(:user) }
fab!(:topic) { Fabricate(:topic, category: Category.find(SiteSetting.uncategorized_category_id)) }
fab!(:post) { Fabricate(:post, topic: topic) }
# fab!(:upload) { Fabricate(:upload) }
let(:topic_page) { PageObjects::Pages::Topic.new }
before do