Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved the matchers into the lib directory

  • Loading branch information...
commit b51930ea3d95e2be6fda65a3d59f79fc3b79419b 1 parent 552e0b0
@jyurek jyurek authored
View
4 lib/paperclip/matchers.rb
@@ -0,0 +1,4 @@
+require 'paperclip/matchers/have_attached_file_matcher'
+require 'paperclip/matchers/validate_attachment_presence_matcher'
+require 'paperclip/matchers/validate_attachment_content_type_matcher'
+require 'paperclip/matchers/validate_attachment_size_matcher'
View
0  ...os/matchers/have_attached_file_matcher.rb → ...ip/matchers/have_attached_file_matcher.rb
File renamed without changes
View
0  ...lidate_attachment_content_type_matcher.rb → ...lidate_attachment_content_type_matcher.rb
File renamed without changes
View
0  ...s/validate_attachment_presence_matcher.rb → ...s/validate_attachment_presence_matcher.rb
File renamed without changes
View
0  ...chers/validate_attachment_size_matcher.rb → ...chers/validate_attachment_size_matcher.rb
File renamed without changes
View
4 shoulda_macros/matchers.rb
@@ -1,4 +0,0 @@
-require 'shoulda_macros/matchers/have_attached_file_matcher'
-require 'shoulda_macros/matchers/validate_attachment_presence_matcher'
-require 'shoulda_macros/matchers/validate_attachment_content_type_matcher'
-require 'shoulda_macros/matchers/validate_attachment_size_matcher'
View
2  shoulda_macros/paperclip.rb
@@ -1,4 +1,4 @@
-require 'shoulda_macros/matchers'
+require 'paperclip/matchers'
module Paperclip
# =Paperclip Shoulda Macros
Please sign in to comment.
Something went wrong with that request. Please try again.