Any idea on how to stub calls to Amazon S3 from the Paperclip plugin? -- Andrei Erdoss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091211/640e28ad/attachment-0001.html>
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>