test/helpers/mailer.rb in seatbelt-1.0.0 vs test/helpers/mailer.rb in seatbelt-2.0.0
- old
+ new
@@ -5,10 +5,10 @@
mail({:from => 'from@seatbelt.co.nz',
:to => 'test@seatbelt.co.nz',
:cc => 'cc@seatbelt.co.nz',
:bcc => 'bcc@seatbelt.co.nz',
:subject => 'mail subject'}.merge(options)) do |format|
- format.text { render :text => options[:body] || 'mail body text' }
+ format.text { render :plain => options[:body] || 'mail body text' }
end
end
end