Our development team is using Prince 12.2 with Princely 2.1.0 for a Rails project.
In our rspec test suite, we're testing that various PDFs are being generated. After each PDF is created, our test output is interrupted by the "fin|success" message, indicating that the PDF has completed.
We'd like to find a way to have this output not occur if at all possible. Looking at the Princely code in pdf.rb, it looks like Prince should be called silently, but fin|success is still being outputted.
We are calling Princely using the command:
Any help would be appreciated. Thanks!
In our rspec test suite, we're testing that various PDFs are being generated. After each PDF is created, our test output is interrupted by the "fin|success" message, indicating that the PDF has completed.
We'd like to find a way to have this output not occur if at all possible. Looking at the Princely code in pdf.rb, it looks like Prince should be called silently, but fin|success is still being outputted.
/usr/local/bin/prince --input=html --server --log=path/to/prince.log --silent - -o -
We are calling Princely using the command:
Princely::Pdf.new(server_flag: true).pdf_from_string(html)
Any help would be appreciated. Thanks!