mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:03:39 +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
|
describe "Post small actions", type: :system do
|
||||||
fab!(:current_user) { Fabricate(:user) }
|
fab!(:current_user) { Fabricate(:user) }
|
||||||
fab!(:topic) { Fabricate(:topic) }
|
fab!(:topic)
|
||||||
fab!(:post) { Fabricate(:post, topic: topic) }
|
fab!(:post) { Fabricate(:post, topic: topic) }
|
||||||
let(:topic_page) { PageObjects::Pages::Topic.new }
|
let(:topic_page) { PageObjects::Pages::Topic.new }
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
describe "Post small actions", type: :system do
|
describe "Post small actions", type: :system do
|
||||||
fab!(:admin) { Fabricate(:admin) }
|
fab!(:admin)
|
||||||
fab!(:topic) { Fabricate(:topic) }
|
fab!(:topic)
|
||||||
fab!(:first_post) do
|
fab!(:first_post) do
|
||||||
Fabricate(:post, topic: topic, raw: "This is a special post with special stuff")
|
Fabricate(:post, topic: topic, raw: "This is a special post with special stuff")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user