correct specs

This commit is contained in:
Sam
2018-08-20 12:41:46 +10:00
parent 9c3ba98ef1
commit d7b1919ead
5 changed files with 16 additions and 7 deletions

View File

@ -82,7 +82,7 @@ class UploadCreator
# otherwise validation will fail and we can not save
# TODO decide if we only run the validation on the extension
if File.extname(@filename) != ".#{image_type}"
fixed_original_filename = "#{@filename}.fixed.#{image_type}"
fixed_original_filename = "#{@filename}_fixed.#{image_type}"
end
end