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

Ensure perform_deliveries is correctly set in user email spec #5048

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

Matt-Yorkley
Copy link
Contributor

@Matt-Yorkley Matt-Yorkley commented Mar 23, 2020

Closes #5040

Wraps sending of test email in a performing_deliveries block, to make sure it actually sends. The problem was that ActionMailer.Base.perfom_deliveries was false at this point.

Also checked confirmation emails are sending correctly in dev environment (with letter_opener).

Note: this issue was originally discovered in the Spree upgrade but it also affects master, depending on the environment and order that tests are run (in parallel).

Release Notes

Fixed an email issue in the test suite

Category: Fixed

@Matt-Yorkley Matt-Yorkley self-assigned this Mar 23, 2020
@luisramos0 luisramos0 changed the base branch from 3-0-stable to master March 24, 2020 13:13
@luisramos0 luisramos0 changed the base branch from master to 3-0-stable March 24, 2020 13:13
@luisramos0
Copy link
Contributor

I needed this in master to fix #4993 I added it to #4993
it must be the order of the specs that leaves perform_deliveries set to false.

@luisramos0
Copy link
Contributor

yeah, it does fix the build in 4993.
Probably better to point this PR to master right Matt?

1 similar comment
@luisramos0
Copy link
Contributor

yeah, it does fix the build in 4993.
Probably better to point this PR to master right Matt?

@Matt-Yorkley Matt-Yorkley changed the base branch from 3-0-stable to master March 25, 2020 07:39
@Matt-Yorkley Matt-Yorkley changed the base branch from master to 3-0-stable March 25, 2020 07:39
@Matt-Yorkley Matt-Yorkley changed the base branch from 3-0-stable to master March 25, 2020 07:43
@Matt-Yorkley
Copy link
Contributor Author

Branch reset and pointed to master 👍

Copy link
Contributor

@luisramos0 luisramos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great thanks!

@luisramos0
Copy link
Contributor

I am merging this PR with one approval to reduce the code review lane...

@luisramos0 luisramos0 merged commit 434b68b into openfoodfoundation:master Mar 25, 2020
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.

[Spree 2.1] User confirmation instructions not sent (1 spec broken)
2 participants