mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 22:21:55 +08:00
DEV: Remove unnecessary fab! blocks (#24419)
This commit is contained in:
parent
46e2523177
commit
e34d2cfde4
|
@ -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 }
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user