From 23de5e959e6fff39fe69c5a10df37f17234ecf66 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Fri, 7 May 2021 15:34:14 -0600 Subject: [PATCH] DEV: Remove duplicate test (#12989) I think this test was duplicated on accident. We test for the exact thing a few lines up. --- spec/lib/upload_creator_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/lib/upload_creator_spec.rb b/spec/lib/upload_creator_spec.rb index 67e67dac490..69f24507ffa 100644 --- a/spec/lib/upload_creator_spec.rb +++ b/spec/lib/upload_creator_spec.rb @@ -478,14 +478,6 @@ RSpec.describe UploadCreator do end end - context "if the upload is for a PM" do - let(:opts) { { for_private_message: true } } - it "sets the upload to secure and sets the original_sha1" do - expect(result.secure).to eq(true) - expect(result.original_sha1).not_to eq(nil) - end - end - context "if SiteSetting.login_required" do before do SiteSetting.login_required = true