-
Notifications
You must be signed in to change notification settings - Fork 72
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
undefined method `first' for nil:NilClass when reading the MessageID of the response #97
Comments
...sorry, I mentioned the wrong guy @arnaudbreton |
Thanks for spotting and reporting the issue. We will investigate further and will come back to you as soon as we have any news |
Hi @aalbagarcia I think I've been able to find a quick fix for this issue gem 'mailjet', git: 'https://github.com/mailjet/mailjet-gem.git', ref: 'a65aa5b1ab07b69e4b1ba29c34ee15ba76b2678e' and tell me if it works? |
@aalbagarcia commit Do you have time to confirm on your end? Apologies for the trouble and thanks a lot for reporting this regression. |
@aalbagarcia as promised, I've just published Hope it works for you, please let us know. |
@arnaudbreton I've just tested version 1.5.1 in our test environment and all my tests are passing. Next week I will try it again in production. Thanks for the fast response! |
@aalbagarcia awesome, glad to hear. Thanks a lot for your feedback and patience. |
Hi @arnaud-mailjet
As a follow up of #91, I'm trying to upgrade to version 1.5.0 of the gem so I can use different subaccounts. After the ugrade, I've found that all my tests are failing.
This piece of code works with version 1.4.10:
Using version 1.5.0:
I get this error:
...apparently the response is not being properly parsed somehow.
I'm stubbing requests using WebMock like this:
Version 1.4.10 parses the response body and returns the correct hash while version 1.5.0 doesn't.
The text was updated successfully, but these errors were encountered: