Unify attachables methods

This commit is contained in:
taitus
2025-05-15 15:40:12 +02:00
parent e7c5b03d8c
commit 2cc23309b8
6 changed files with 35 additions and 37 deletions

View File

@@ -96,7 +96,7 @@ describe "Nested imageable" do
end
scenario "Should not update image cached_attachment field after invalid file upload" do
imageable_attach_new_file(file_fixture("logo_header.png"), false)
imageable_attach_new_file(file_fixture("logo_header.png"), success: false)
cached_attachment_field = find("input[name$='[cached_attachment]']", visible: :hidden)