I have a small ruby app with one model, the model uses ActiveRecord & the find_by_sql method as the query is a little complex, it loops over the results and produces a CSV file, this file is then uploaded to a remote FTP server.
Just wondering what are the RSpec tests that I should consider writing for this non-rails app?
First time writing non-rails tests and have been hit with “testers block” 🙂
Thanks!
Here’s a list of things I would likely test for.
Posting any code or the query itself would allow us to offer much better advice.