ãã£ãããªã®ã§TDDã§ã æ¹é Emailã®ãã¹ãã«é¢ãã¦ã¯ä»¥ä¸ã®è¨äºãé常ã«ä¸å¯§ã«ã¾ã¨ãã¦ãã ãã£ã¦ãã¦æè¬ææ¿ã§ãã ActionMailer ã®ã¡ã¼ã«éä¿¡ãã¹ãã RSpec ã§è¡ã | EasyRamble Emailã®ãã¹ããæ¸ãå§ããåã«Rails Guidesã®ãã¹ãã®é ç®ã«ç®ãéãã¦ãããã¨ãæ¿ãªã·ãã¦ããã¾ããåã¯ã¡ãã£ã¨é²ãã§ããå ã«èªãã§ãããæ¹ãããã£ããªãããã¨è¥å¹²å¾æãã¾ããã®ã§ã A Guide to Testing Rails Applications â Ruby on Rails Guides Emailã®ãã¹ãã®æ¹éã¯ä»¥ä¸ã§ãã The goals of testing your mailer classes are to ensure that: ã»emails are being processed (created and sent) ã»the
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}