Reputation: 1
So I have a link on my rails web page that generates a CSV file. How would I go about writing a functional test to test that the CSV file is created properly and check the contents of it?
Upvotes: 0
Views: 655
Reputation: 40277
There are probably many ways. Here's a version that won't make you jump through browser hoops
Upvotes: 1