fix upload test

This commit is contained in:
albert
2011-11-03 14:49:47 -04:00
parent 104b552259
commit 694eefd314
2 changed files with 4 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ class UploadTest < ActiveSupport::TestCase
assert(File.exists?(@upload.resized_file_path_for(Danbooru.config.medium_image_width)))
assert_equal(43470, File.size(@upload.resized_file_path_for(Danbooru.config.medium_image_width)))
assert(File.exists?(@upload.resized_file_path_for(Danbooru.config.large_image_width)))
assert_equal(198695, File.size(@upload.resized_file_path_for(Danbooru.config.large_image_width)))
assert_equal(129472, File.size(@upload.resized_file_path_for(Danbooru.config.large_image_width)))
end
end