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
add missing require to have_enqueued_mail #2117
Conversation
9743174
to
fd9b792
Compare
fd9b792
to
a8258c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks LGTM.
Hi there @ignatiusreza I ran our build against this PR and got the following failing features:
do I need to do something to get these green ? |
a8258c7
to
0797038
Compare
hi @samphippen, I rebased the branch to run this PR against CI, and just noticed that it's failing when |
I dig down a bit deeper, and found that the default mailer delivery job changed in rails 6 (see: rails/rails#34591 & rails/rails#34692).. in our test environment, since this PR is about adding missing |
I'm happy with this if you are @samphippen |
@ignatiusreza can you look at the build failures here and let us know what's up or if you need some help? |
@samphippen i found the issue and opened #2125 to address it.. i'll rebase this branch after #2125 is merged, and ci should pass.. |
0797038
to
164c9a3
Compare
All green now! |
164c9a3
to
b0ca372
Compare
LGTM |
This has also been released in 3.9.1 now. |
Hiya, I'm having issue when trying out #2047 in the beta release.. the error raised was
You must pass an argument rather than a block to 'expect' to use the provided matcher (have enqueued mail ReservationMailer, :complete), or the matcher must implement 'supports_block_expectations?'.
which seems to be caused by the matcher not being required.. hence, this PR fix it by adding the missing
require
call..