Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to test ActionMailer in Rails Discussion

Great episode, Chris. I like how you said you don't really need to test CSS styling but instead focus on testing the higher level functionality of your mailers. That way, a developer doesn't go down a rabbit hole writing too fine grained tests.

Also, the last point about ActionMailer::Base.deliveries makes me wonder what the difference is between that and assert_emails.

Reply

Cool, thanks. I've been using mailcatcher, which is great for developing but you have to reload! in the console to get changes in the templates to show up. Previews looks much better.

Reply

Webpacker::Manifest::MissingEntryError in Pages#home i get this error when i run integration tests, can any one help?

Reply

coaching for the line courses is too heavy to learn and get a good score but you can concentrate on learning English descriptive linguistics or academic writing with www.write-my-essay.online and more behavior of writing you'll solely hump which is cheap and provides quality labor inside the amount of your time that you just require.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 76,990+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.