mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:47:46 +08: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
@ -4,7 +4,6 @@ RSpec.describe ListController do
|
||||
let(:topic) { Fabricate(:topic, user: user) }
|
||||
let(:group) { Fabricate(:group) }
|
||||
let(:user) { Fabricate(:user) }
|
||||
let(:post) { Fabricate(:post, user: user) }
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
|
||||
before do
|
||||
@ -200,8 +199,6 @@ RSpec.describe ListController do
|
||||
)
|
||||
end
|
||||
|
||||
let(:private_post) { Fabricate(:post, topic: topic) }
|
||||
|
||||
it 'should return the right response' do
|
||||
get "/topics/private-messages-group/#{user.username}/#{group.name}.json"
|
||||
|
||||
|
Reference in New Issue
Block a user