mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 22:19:37 +08:00
add image optim version note to relevant tests
This commit is contained in:
parent
9878274427
commit
96aca20fd7
@ -6,7 +6,7 @@ describe OptimizedImage do
|
|||||||
|
|
||||||
unless ENV["TRAVIS"]
|
unless ENV["TRAVIS"]
|
||||||
describe '.crop' do
|
describe '.crop' do
|
||||||
it 'should work correctly' do
|
it 'should work correctly (requires correct version of image optim)' do
|
||||||
tmp_path = "/tmp/cropped.png"
|
tmp_path = "/tmp/cropped.png"
|
||||||
|
|
||||||
begin
|
begin
|
||||||
@ -128,7 +128,7 @@ describe OptimizedImage do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe '.downsize' do
|
describe '.downsize' do
|
||||||
it 'should work correctly' do
|
it 'should work correctly (requires correct version of image optim)' do
|
||||||
tmp_path = "/tmp/downsized.png"
|
tmp_path = "/tmp/downsized.png"
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user