DEV: typo in test case

This commit is contained in:
Gabriel Grubba 2024-08-16 10:34:07 -03:00
parent 1d80756bc6
commit b045591e40
No known key found for this signature in database
GPG Key ID: 5FE41764F62D556C

View File

@ -245,7 +245,7 @@ RSpec.describe UploadsController do
let(:text_file) { Rack::Test::UploadedFile.new(File.new("#{Rails.root}/LICENSE.txt")) } let(:text_file) { Rack::Test::UploadedFile.new(File.new("#{Rails.root}/LICENSE.txt")) }
it "properly returns errors if system_user_max_attachment_size_kb is not setted" do it "properly returns errors if system_user_max_attachment_size_kb is not set" do
SiteSetting.authorized_extensions = "*" SiteSetting.authorized_extensions = "*"
SiteSetting.max_attachment_size_kb = 1 SiteSetting.max_attachment_size_kb = 1