diff --git a/spec/fixtures/reference_images/vips/pumpkins-icc-adobe-rgb-1998-processed-without-modifications.jpg b/spec/fixtures/reference_images/vips/pumpkins-icc-adobe-rgb-1998-processed-without-modifications.jpg new file mode 100644 index 0000000..792b463 Binary files /dev/null and b/spec/fixtures/reference_images/vips/pumpkins-icc-adobe-rgb-1998-processed-without-modifications.jpg differ diff --git a/spec/morandi_spec.rb b/spec/morandi_spec.rb index e5aa6f4..a125d6f 100644 --- a/spec/morandi_spec.rb +++ b/spec/morandi_spec.rb @@ -389,13 +389,14 @@ end end - context 'with non-sRGB colour profile', vips_wip: processor_name == 'vips' do + context 'with non-sRGB colour profile' do let(:file_in) { 'spec/fixtures/pumpkins-icc-adobe-rgb-1998.jpg' } it 'converts the profile to sRGB' do process_image - expect(file_out).to match_reference_image('pumpkins-icc-adobe-rgb-1998-processed-without-modifications') + reference_image_name = 'pumpkins-icc-adobe-rgb-1998-processed-without-modifications' + expect(file_out).to match_reference_image(reference_image_prefix, reference_image_name) end end