diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 5a46b6d6..7fa70557 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -10,7 +10,7 @@ img = helper.avatar_url(user, 50) expect(img.class).to eq(ActiveStorage::VariantWithRecord) - expect(img.variation.transformations[:resize]).to eq("50x50") + expect(img.variation.transformations[:resize_to_fit]).to eq([50, 50]) expect(img.blob.filename).to eq("name.png") end