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.
Hi! This site belongs to Wong Liang Zan. He's a software engineer living in Singapore. When he's not in front of the computer, he might be reading, climbing some mountain, backpacking, playing the guitar, or proabably watching Man Utd.