Method: Paperclip::Shoulda::Matchers::HaveAttachedFileMatcher#matches?
- Defined in:
- lib/paperclip/matchers/have_attached_file_matcher.rb
#matches?(subject) ⇒ Boolean
13 14 15 16 |
# File 'lib/paperclip/matchers/have_attached_file_matcher.rb', line 13 def matches? subject @subject = subject responds? && has_column? && included? end |