> > I've a ActiveAdmin CSV created file that I want to write a TestUnit
> > assertion to check that it exists, and then count how many rows are in
> > it. Then check that their a number of rows - 1 emails sent. Yay, I can
> > do the emails bit, but the first bit I'm struggling with.
> 
> I've really no idea what you want to do. Not really. Not in a way that I
> can action. I might not be able to help you anyway, but I won't be alone
> in not really knowing what you want.

Given that the ActiveAdmin 'controller' method 'export' exports a csv
and it has been called in a http request,
And I'm using TestUnit
As A Developer, I want to assert that the file 'export.txt' is created
and sent as a http response

I guess it must create a tmp file somewhere, but I've not found that to
be the case yet.

For reference: http://www.activeadmin.info/docs/4-csv-format.html

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nwrug-members.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to