-
Notifications
You must be signed in to change notification settings - Fork 18
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
be_delivered expectation fails when it shouldn't #66
Comments
For reference if someone wants to pick this up: It does compare the body of the email so I'm not sure how it's failing |
oh, that's weird... Yeah, I wonder why it's failing 🤔 |
Thinking back on this, I was using dynamic templates through SendGrid luckyframework/carbon_sendgrid_adapter#5 When using these, there isn't a body because that actually lives in SendGrid. So, the Carbon code seems to be correct, but this is a side effect to using dynamic templates where the body doesn't live in Carbon directly. I'm not sure how to fix this, or if we even should...Spitballin maybe we could add an additional field that gets checked, but I'd say this is super low priority now. |
I'm no longer using the dynamic templates, and I'm still getting this failed. If I check |
I have a spec that looks like this:
because I'm sending bulk emails. In this case, I want to make sure the first one is sent because
post
is valid for sending at this time, butlater_post
is not, and should not be sent out. When the spec runs, it says both should be delivered, but I think it's a false positive because it sees the sameto
and samesubject
lines and probably whatever else to determine that these are the same email even though they're not.The text was updated successfully, but these errors were encountered: