DEV: Remove unused fabrication.

This commit is contained in:
Guo Xiang Tan 2020-07-24 09:54:34 +08:00
parent 0cbf86f1e7
commit b1cc7825c5
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -537,7 +537,6 @@ describe Guardian do
let(: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' do
expect(Guardian.new(nil).can_invite_to?(topic)).to be_falsey