This commit is contained in:
r888888888
2014-11-19 17:17:26 -08:00
parent 11731b6dfb
commit 177ef0ebcc
5 changed files with 21 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ module UploadTestMethods
def upload_jpeg(path)
upload_file(path, "image/jpeg", File.basename(path))
end
def upload_zip(path)
upload_file(path, "application/zip", File.basename(path))
end
end
class ActiveSupport::TestCase