[rspec-users] Testing file attachment with Paperclip
nicholas.wieland at gmail.com
Mon Jun 9 08:18:36 EDT 2008
Il giorno 09/giu/08, alle ore 14:11, David Chelimsky ha scritto:
> On Jun 9, 2008, at 7:05 AM, Nicholas Wieland wrote:
>> Does someone have an example on faking a file upload for just
>> ensuring it gets called
I haven't been clear enough, my point is not to fake the file upload
(there's also fixture_file_upload for that) but to fake the receiver,
making it dumb enough to avoid performing every operation on the file
(in my case, uploading to s3).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2435 bytes
Desc: not available
More information about the rspec-users