Replaced create_topic with Fabricate(:topic)

This commit is contained in:
Daniel Waterworth 2019-04-30 18:08:57 +01:00 committed by Robin Ward
parent e79421abb7
commit 3e2f7d800a
1 changed files with 1 additions and 1 deletions

View File

@ -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 }