Skip imagemagick tests on Travis.

This commit is contained in:
Guo Xiang Tan 2018-08-30 16:07:00 +08:00
parent 90802053a0
commit c4de36624f

View File

@ -4,6 +4,7 @@ describe OptimizedImage do
let(:upload) { build(:upload) }
before { upload.id = 42 }
unless ENV["TRAVIS"]
describe '.crop' do
it 'should work correctly' do
tmp_path = "/tmp/cropped.png"
@ -65,6 +66,7 @@ describe OptimizedImage do
end
end
end
end
describe ".safe_path?" do