posts: stop autotagging huge_filesize.

https://danbooru.donmai.us/forum_topics/19526
This commit is contained in:
evazion
2021-09-26 18:26:38 -05:00
parent 1075277d36
commit 7d3e491dc6
2 changed files with 1 additions and 17 deletions

View File

@@ -1382,18 +1382,6 @@ class PostTest < ActiveSupport::TestCase
end
end
context "with a large file size" do
setup do
@post.file_size = 11.megabytes
@post.tag_string = ""
@post.save
end
should "have the appropriate file size tags added automatically" do
assert_match(/huge_filesize/, @post.tag_string)
end
end
context "with a .zip file extension" do
setup do
@post.file_ext = "zip"