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 <erd...@gmail.com> wrote:

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



-- 
Andrei Erdoss
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to