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!(:user) { Fabricate(:user) }
|
||||||
fab!(:moderator) { Fabricate(:moderator) }
|
fab!(:moderator) { Fabricate(:moderator) }
|
||||||
fab!(:admin) { Fabricate(:admin) }
|
fab!(:admin) { Fabricate(:admin) }
|
||||||
let(:topic) { create_topic }
|
let(:topic) { Fabricate(:topic) }
|
||||||
fab!(:evil_trout) { Fabricate(:evil_trout) }
|
fab!(:evil_trout) { Fabricate(:evil_trout) }
|
||||||
let(:first_poster) { topic.user }
|
let(:first_poster) { topic.user }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue