[rspec-users] Stubbing calls to S3 from Paperclip

Andrei Erdoss erdoss at gmail.com
Fri Dec 11 12:27:02 EST 2009


Ok, I found something that works.

@photo.stub!(:save_attached_files).and_return(true)

On Fri, Dec 11, 2009 at 5:32 PM, Andrei Erdoss <erdoss at gmail.com> wrote:

> Any idea on how to stub calls to Amazon S3 from the Paperclip plugin?
>
> --
> Andrei Erdoss
>



-- 
Andrei Erdoss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091211/49d65fc1/attachment.html>


More information about the rspec-users mailing list