Skip to content

A platform for community discussion. Free, open, simple.

Prefabricated topic

Daniel Waterworth033d584275d7
diff --git a/spec/components/topic_view_spec.rb b/spec/components/topic_view_spec.rb
index 2b796f2b1c3..c8fc2f1ee0e 100644
--- a/spec/components/topic_view_spec.rb
+++ b/spec/components/topic_view_spec.rb
@@ -8,9 +8,9 @@ describe TopicView do
fab!(:user) { Fabricate(:user) }
fab!(:moderator) { Fabricate(:moderator) }
fab!(:admin) { Fabricate(:admin) }
- let(:topic) { Fabricate(:topic) }
+ fab!(:topic) { Fabricate(:topic) }
fab!(:evil_trout) { Fabricate(:evil_trout) }
- let(:first_poster) { topic.user }
+ fab!(:first_poster) { topic.user }
let(:topic_view) { TopicView.new(topic.id, evil_trout) }