«
»

Rails

Testing PDFs with Celerity-Culerity and Cucumber

12.11.09 | 1 Comment

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.

1 Comment

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

:

:


«
»