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

后端 未结 3 835
闹比i
闹比i 2021-02-12 10:49

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:12

    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.

提交回复
热议问题