Commit 832298b6 by Jon Yurek

Fixed inclusion issue with Matchers

parent 093f2193
...@@ -9,6 +9,7 @@ module Paperclip ...@@ -9,6 +9,7 @@ module Paperclip
# you're testing (that is, UserTest is the test for the User model), and # you're testing (that is, UserTest is the test for the User model), and
# will load that class for testing purposes. # will load that class for testing purposes.
module Shoulda module Shoulda
include Matchers
# This will test whether you have defined your attachment correctly by # This will test whether you have defined your attachment correctly by
# checking for all the required fields exist after the definition of the # checking for all the required fields exist after the definition of the
# attachment. # attachment.
...@@ -64,5 +65,4 @@ end ...@@ -64,5 +65,4 @@ end
class Test::Unit::TestCase #:nodoc: class Test::Unit::TestCase #:nodoc:
extend Paperclip::Shoulda extend Paperclip::Shoulda
include Paperclip::Shoulda::Matchers
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment