Method: Paperclip::Shoulda::Matchers::HaveAttachedFileMatcher#initialize

Defined in:
lib/paperclip/matchers/have_attached_file_matcher.rb

#initialize(attachment_name) ⇒ HaveAttachedFileMatcher

Returns a new instance of HaveAttachedFileMatcher.



16
17
18
# File 'lib/paperclip/matchers/have_attached_file_matcher.rb', line 16

def initialize attachment_name
  @attachment_name = attachment_name
end