mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 20:03:44 +08:00
Skip imagemagick tests on Travis.
This commit is contained in:
parent
90802053a0
commit
c4de36624f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user