I have a spec that looks like this:
NewPostEmail.new(friend, me, post).should be_delivered
NewPostEmail.new(friend, me, later_post).should_not be_delivered
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, but later_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 same to and same subject lines and probably whatever else to determine that these are the same email even though they're not.
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
postis valid for sending at this time, butlater_postis 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 sametoand samesubjectlines and probably whatever else to determine that these are the same email even though they're not.