mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
DEV: Remove unused fabrication.
This commit is contained in:
parent
0cbf86f1e7
commit
b1cc7825c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user