DEV: Remove unnecessary fab! blocks (#24419)

This commit is contained in:
Daniel Waterworth 2023-11-16 12:22:08 -06:00 committed by GitHub
parent 46e2523177
commit e34d2cfde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
describe "Post small actions", type: :system do
fab!(:current_user) { Fabricate(:user) }
fab!(:topic) { Fabricate(:topic) }
fab!(:topic)
fab!(:post) { Fabricate(:post, topic: topic) }
let(:topic_page) { PageObjects::Pages::Topic.new }

View File

@ -1,8 +1,8 @@
# frozen_string_literal: true
describe "Post small actions", type: :system do
fab!(:admin) { Fabricate(:admin) }
fab!(:topic) { Fabricate(:topic) }
fab!(:admin)
fab!(:topic)
fab!(:first_post) do
Fabricate(:post, topic: topic, raw: "This is a special post with special stuff")
end