Revert "Immediate avatar and embed variants"

This commit is contained in:
Jorge Manrubia
2025-12-07 12:06:03 +01:00
committed by GitHub
parent 7fe22b5767
commit c8c91259c7
9 changed files with 17 additions and 59 deletions
@@ -22,12 +22,11 @@ class Notification::BundleMailerTest < ActionMailer::TestCase
end
test "renders avatar with external image URL when avatar is attached" do
blob = ActiveStorage::Blob.create_and_upload!(
@user.avatar.attach(
io: File.open(Rails.root.join("test", "fixtures", "files", "avatar.png")),
filename: "avatar.png",
content_type: "image/png"
)
@user.avatar.attach(blob)
create_notification(@user)