From b7025a8135c4b8469f6ba3edc2ac2327dce8a8e4 Mon Sep 17 00:00:00 2001 From: taitus Date: Fri, 16 May 2025 13:07:53 +0200 Subject: [PATCH] Remove "outdated" comment Since commit 23682fadd8791, we have had the comment: > # Review > # Doble check why the file is stored with a name different to empty.pdf This might be outdated. --- spec/system/nested_documentable_spec.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spec/system/nested_documentable_spec.rb b/spec/system/nested_documentable_spec.rb index 7d236042d..772e92dd7 100644 --- a/spec/system/nested_documentable_spec.rb +++ b/spec/system/nested_documentable_spec.rb @@ -194,10 +194,7 @@ describe "Nested documentable" do expect(page).to have_content notice_text expect(page).to have_content "Documents" - expect(page).to have_content "empty.pdf" - - # Review - # Doble check why the file is stored with a name different to empty.pdf + expect(page).to have_link text: "empty.pdf" expect(page).to have_link href: /.pdf\Z/ end