A platform for community discussion. Free, open, simple.
DEV: Remove unused fabrication.
Guo Xiang Tanb1cc7825c55d
diff --git a/spec/components/guardian_spec.rb b/spec/components/guardian_spec.rbindex b200a244906..60dc6c9a0f4 100644--- a/spec/components/guardian_spec.rb+++ b/spec/components/guardian_spec.rb@@ -537,7 +537,6 @@ describe Guardian dolet(:private_category) { Fabricate(:private_category, group: group) }let(:group_private_topic) { Fabricate(:topic, category: private_category) }let(:group_owner) { group_private_topic.user.tap { |u| group.add_owner(u) } }- fab!(:pm) { Fabricate(:topic) }it 'handles invitation correctly' doexpect(Guardian.new(nil).can_invite_to?(topic)).to be_falsey