Method: EmailSpec::Matchers::HaveSubject#description

Defined in:
lib/email_spec/matchers.rb

#descriptionObject



191
192
193
194
195
196
197
# File 'lib/email_spec/matchers.rb', line 191

def description
  if @expected_subject.is_a?(String)
    "have subject of #{@expected_subject.inspect}"
  else
    "have subject matching #{@expected_subject.inspect}"
  end
end