Revert "Immediate avatar and embed variants"
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user