A platform for community discussion. Free, open, simple.
Prefabricated anonymous
Daniel Waterworthd3a59a43a15c
diff --git a/spec/components/topic_view_spec.rb b/spec/components/topic_view_spec.rbindex c8fc2f1ee0e..57f38c2f1ae 100644--- a/spec/components/topic_view_spec.rb+++ b/spec/components/topic_view_spec.rb@@ -11,6 +11,7 @@ describe TopicView dofab!(:topic) { Fabricate(:topic) }fab!(:evil_trout) { Fabricate(:evil_trout) }fab!(:first_poster) { topic.user }+ fab!(:anonymous) { Fabricate(:anonymous) }let(:topic_view) { TopicView.new(topic.id, evil_trout) }@@ -57,7 +58,6 @@ describe TopicView doenddescribe "when an anonymous user made a post" do- let(:anonymous) { Fabricate(:anonymous) }let!(:post4) { Fabricate(:post, topic: topic, user: anonymous) }it "filters out ignored user posts only" do@@ -67,7 +67,6 @@ describe TopicView doenddescribe "when an anonymous (non signed-in) user is viewing a Topic" do- let(:anonymous) { Fabricate(:anonymous) }let!(:post4) { Fabricate(:post, topic: topic, user: anonymous) }it "filters out ignored user posts only" do