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

Fix master build - fix mail interceptor spec #5935

Merged
merged 1 commit into from Aug 20, 2020

Conversation

luisramos0
Copy link
Contributor

@luisramos0 luisramos0 commented Aug 20, 2020

What? Why?

This fixes an incompatibility between two recent PRs: #5763 and #5762
PR #5733 did not take into account #5763 (where the Spree::OrderMailer#confirm_email method was removed) and so the mail_interceptor_spec (that used Spree::OrderMailer.confirm_email) introduced in #5733 was breaking.

Here we switch the mail_interceptor_spec to use Spree::OrderMailer.confirm_email_for_shop instead.

What should we test?

Green build is enough.

Release notes

Changelog Category: Fixed
Fix spec incompatibility between two parallel PRs.

This was due to an incompatibility between two recent PRs: 5763 and
5733. PR 5733 did not take into account 5763 (the confirm email method was removed) and so the specs introduced
were broken.
@luisramos0 luisramos0 self-assigned this Aug 20, 2020
@luisramos0 luisramos0 changed the title Fix specs in mail interceptor spec Fix master build - fix mail interceptor spec Aug 20, 2020
@Matt-Yorkley Matt-Yorkley merged commit 9d772db into openfoodfoundation:master Aug 20, 2020
@luisramos0 luisramos0 deleted the fix_build branch August 20, 2020 17:19
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.

None yet

2 participants