Testing CSV Download With Cucumber

Thanks to Upstream for their blog post on testing pdfs with cucumber.

Testing CSV download is exactly the same apart from that we do not need to turn the PDF to text, simply because…it isn’t a PDF…

(From RedWritesHere)

Comments

One Response to “Testing CSV Download With Cucumber”

  1. corey haines on October 9th, 2010 10:15 pm

    It doesn’t seem like you need to save the csv to a temp file. You can just use response.body to start with.