Here’re the code to test the content of the pdfs. But first you need the pdf-reader gem.
The feature file is above.
Add the code above as a helper file.
And lastly, the steps. Remember to add a @pdf tag to your feature files.
Designed by Upstart Blogger.