spec/internal/app/uploaders/multipart/video_uploader.rb in s3_multipart-0.0.10.3 vs spec/internal/app/uploaders/multipart/video_uploader.rb in s3_multipart-0.0.10.4

- old
+ new

@@ -4,10 +4,10 @@ # Attaches the specified model to the uploader, creating a "has_one" # relationship between the internal upload model and the given model. attach :video # Only accept certain file types. Expects an array of valid extensions. - accept %w(wmv avi mp4 mkv mov mpeg) + accept %w(wmv avi mp4 mkv mov mpeg flv) # Define the minimum and maximum allowed file sizes (in bytes) limit min: 5*1000*1000, max: 2*1000*1000*1000 # Takes in a block that will be evaluated when the upload has been