-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
[Spree 2 Upgrade] Fix references to MailMethod in specs #2020
Comments
This is not yet doable as it depends on https://github.com/spree/spree/pull/2643/files#diff-a428b7a87ba7179c65fcb97529aa2452R10 from Spree. Until we don't reach that commit our efforts are pointless. |
I just looked at spree 2 branch and I believe we do have this already and this is now doable and it is not blocked. |
Specs referencing MailMethod in spree 2-0-4-stable branch: |
What
We need to get rid of the creation of
Spree::MailMethod
in all specs and useSpree::Config[:mails_from]
instead.So in https://github.com/openfoodfoundation/openfoodnetwork/blob/master/spec/controllers/spree/orders_controller_spec.rb#L401 we would turn:
into:
The text was updated successfully, but these errors were encountered: