Removed unused let blocks (#7446)

The bodies of these blocks were never evaluated.
This commit is contained in:
Daniel Waterworth
2019-04-29 07:08:56 +00:00
committed by Guo Xiang Tan
parent 17b34f5744
commit ad44243a57
34 changed files with 0 additions and 74 deletions

View File

@ -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"