Skip to content

Instantly share code, notes, and snippets.

@hlegius
Last active December 14, 2015 02:49
Show Gist options
  • Save hlegius/5016220 to your computer and use it in GitHub Desktop.
Save hlegius/5016220 to your computer and use it in GitHub Desktop.
Mocking Paperclip with Mocha
YourModel.any_instance.stubs(:save_attached_files).returns(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment