diff --git a/spec/pdf/core/embedded_files_spec.rb b/spec/pdf/core/embedded_files_spec.rb index 26f1d27..1e73966 100644 --- a/spec/pdf/core/embedded_files_spec.rb +++ b/spec/pdf/core/embedded_files_spec.rb @@ -54,6 +54,7 @@ def ref!(data) t.add_embedded_file(file_name, t.ref!(Type: :Filespec)) pdf_object = "4 0 obj\n<< /Names [(my_file) 2 0 R]\n>>\nendobj\n" + expect(t.embedded_files.data.size).to eq 1 expect(t.embedded_files.object).to eq pdf_object end end