Skip to content

Commit

Permalink
update test syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Feb 12, 2024
1 parent 915ada5 commit 069a768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/application_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 069a768

Please sign in to comment.