fix image size and crop and bg alignemnt options
This commit is contained in:
@ -77,7 +77,7 @@
|
||||
shade_color: black_25
|
||||
color: solid_blue
|
||||
align: left
|
||||
:updated_at: 2023-01-04 23:50:28.275902275 +02:00
|
||||
:updated_at: 2023-01-16 22:59:32.016250599 +02:00
|
||||
:page_id: 6
|
||||
:index: 2
|
||||
:image_id: 16
|
||||
|
@ -23,6 +23,11 @@ module Merged
|
||||
def test_aspect
|
||||
assert_equal first.aspect_ratio , [13,7]
|
||||
end
|
||||
|
||||
def test_init_no_change
|
||||
image = first
|
||||
size = image.size
|
||||
image.init_file_size
|
||||
assert_equal size , image.size
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user