mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: Remove duplicate test (#12989)
I think this test was duplicated on accident. We test for the exact thing a few lines up.
This commit is contained in:
parent
225c0d2d96
commit
23de5e959e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user