Created
September 30, 2011 01:19
-
-
Save sbeam/1252415 to your computer and use it in GitHub Desktop.
Access Paperclip matchers in your Shoulda tests
This file contains hidden or 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
| # In test_helper.rb add (inside Spork.prefork block) | |
| require "paperclip/matchers" | |
| # ... | |
| class Test::Unit::TestCase | |
| extend Paperclip::Shoulda::Matchers | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment