Any idea on how to stub calls to Amazon S3 from the Paperclip plugin?
Ok, I found something that works.
@photo.stub!(:save_attached_files).and_return(true)
Any idea on how to stub calls to Amazon S3 from the Paperclip plugin?
Ok, I found something that works.
@photo.stub!(:save_attached_files).and_return(true)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs