Open tmfrnz opened 6 years ago
2) DueDateMailer category due mentions the indicator title
Failure/Error: expect(mail.body.encoded).to match(due_date.indicator.title)
expected "\r\n----==_mimepart_5aa991e955421_16fe114f0cc361a\r\nContent-Type: text/plain;\r\n charset=UTF-8\r\n...na=C3=AB\r\n</p>\r\n </body>\r\n</html>\r\n\r\n----==_mimepart_5aa991e955421_16fe114f0cc361a--\r\n" to match "Chuck Norris can compile syntax errors."
Diff:
@@ -1,2 +1,44 @@
-Chuck Norris can compile syntax errors.
+
+----==_mimepart_5aa991e955421_16fe114f0cc361a
+Content-Type: text/plain;
+ charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+Sadata Progress Report Due
+
+Hi Dr. Rosie Durgan,
+There is a a progress report due for Chuck Norris can compile syntax erro=
+rs. on 2017-01-06 for your category Dana=C3=AB
+
+
+----==_mimepart_5aa991e955421_16fe114f0cc361a
+Content-Type: text/html;
+ charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
+-8" />
+ <style>
+ /* Email styles need to be inline */
+ </style>
+ </head>
+
+ <body>
+ <h1>Sadata Progress Report Due</h1>
+
+<p>
+ Hi Dr. Rosie Durgan,
+</p>
+
+<p>
+ There is a a progress report due for Chuck Norris can compile syntax er=
+rors. on 2017-01-06 for your category Dana=C3=AB
+</p>
+ </body>
+</html>
+
+----==_mimepart_5aa991e955421_16fe114f0cc361a--