Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enqueued email assertions #18403

Merged
merged 2 commits into from
Jan 8, 2015
Merged

Enqueued email assertions #18403

merged 2 commits into from
Jan 8, 2015

Conversation

georgeclaghorn
Copy link
Contributor

Adds assert_enqueued_emails and assert_no_enqueued_emails to the Action Mailer test helpers.

Also adds the :only option to assert_no_enqueued_jobs for parity with assert_enqueued_jobs.

/cc @dhh

@dhh
Copy link
Member

dhh commented Jan 8, 2015

Perfect.

dhh added a commit that referenced this pull request Jan 8, 2015
@dhh dhh merged commit 0e8c7ff into rails:master Jan 8, 2015
@georgeclaghorn georgeclaghorn deleted the enqueued-email-assertions branch August 8, 2017 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants