rails Testing an attachment CSV with RSpec and controllers. Ever send down a CSV from a controller like this: def index @users = User.all respond_to do |format| format.csv { send_data @users.to_csv, filename: "users-#{Date.today}.csv" } end endAnd then wonder how you can test the contents as well as