Fix the build.

This commit is contained in:
Guo Xiang Tan
2018-07-26 10:17:38 +08:00
parent c5e7c60a37
commit f8b367cc9c
2 changed files with 5 additions and 4 deletions

View File

@ -56,7 +56,8 @@ describe OptimizedImage do
"#{Rails.root}/spec/fixtures/images/svg.png",
tmp_path,
5,
5
5,
raise_on_error: true
)
end.to raise_error(RuntimeError, /improper image header/)
ensure