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