Skip to content

Instantly share code, notes, and snippets.

@franciscoj
Created December 9, 2010 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franciscoj/734635 to your computer and use it in GitHub Desktop.
Save franciscoj/734635 to your computer and use it in GitHub Desktop.
Code needed in test_helper to load shoulda macros from paperclip
require File.expand_path(File.join(Gem.datadir('paperclip'), '..', '..', 'shoulda_macros', 'paperclip.rb'))
class ActiveSupport::TestCase
# ...
# here comes your custom test options
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment