Created
April 4, 2016 19:21
-
-
Save patriciojofre/0d824571a6c2666e9cab847533dfa72b to your computer and use it in GitHub Desktop.
Stub Paperclip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paperclip::Attachment.any_instance.stubs(:save).returns(true) | |
Paperclip::Attachment.any_instance.stubs(:post_process).returns(true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment