mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:13:38 +08:00
DEV: typo in test case
This commit is contained in:
parent
1d80756bc6
commit
b045591e40
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user