mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:01:52 +08:00
Replaced create_topic with Fabricate(:topic)
This commit is contained in:
parent
e79421abb7
commit
3e2f7d800a
|
@ -8,7 +8,7 @@ describe TopicView do
|
|||
fab!(:user) { Fabricate(:user) }
|
||||
fab!(:moderator) { Fabricate(:moderator) }
|
||||
fab!(:admin) { Fabricate(:admin) }
|
||||
let(:topic) { create_topic }
|
||||
let(:topic) { Fabricate(:topic) }
|
||||
fab!(:evil_trout) { Fabricate(:evil_trout) }
|
||||
let(:first_poster) { topic.user }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user