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

@ -277,7 +277,6 @@ describe PostsController do
describe 'when logged in' do
let(:user) { Fabricate(:user) }
let(:post) { Fabricate(:post, user: user, post_number: 2) }
it "raises an error when the user doesn't have permission to see the post" do
post = Fabricate(:post, topic: Fabricate(:private_message_topic), post_number: 3)