mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Removed unused let blocks (#7446)
The bodies of these blocks were never evaluated.
This commit is contained in:
committed by
Guo Xiang Tan
parent
17b34f5744
commit
ad44243a57
@@ -1181,8 +1181,6 @@ describe Guardian do
|
||||
end
|
||||
|
||||
context 'as a moderator' do
|
||||
let(:other_post) { Fabricate(:post, topic: topic, user: topic.user) }
|
||||
|
||||
before do
|
||||
topic.save!
|
||||
post.save!
|
||||
|
||||
Reference in New Issue
Block a user