How to Mock ActionMailer
Using RSpec custom matchers to make clean ActionMailer mocks
May 13, 20222 min read2.1K
Search for a command to run...
Articles tagged with #ruby-on-rails
Using RSpec custom matchers to make clean ActionMailer mocks
How using the RSpec `change` matcher can make your Rails tests easier to read and maintain.
Greater confidence. Fewer specs.
Writing clean RSpec tests with Rails and graphql-ruby.