ActionMailer and development mode, can it write to a file or something?

后端 未结 3 634
南旧
南旧 2021-02-12 10:42

I want to test my registration process locally (development mode), how can I test how emails will be sent out and rendered etc?

I am not referring to a unit-test or inte

3条回答
  •  独厮守ぢ
    2021-02-12 11:01

    I realize you said you want to check emails in the context of manual testing, but it seems worth mentioning that these sorts of tests can be automated. email_spec is one gem i've used to do it.

提交回复
热议问题