-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Adding compound methods to receive and have_received, fixes #1298. #1299
base: main
Are you sure you want to change the base?
Conversation
I've tried playing with the code, and couldn't get those |
i tried to investigate but it's a bit more perplexing, as the |
Does it help your understanding if I explain that the two matchers check at different points in the lifecycle?
|
@JonRowe well on the high level i did know that, my concern is rather that though i have been using rspec for a long time i have to admit i know very little about its inner workings, so it's hard for me to investigate/diagnose this (or any other problem) and even harder to articulate questions/thoughts clearly. i can keep investigating (and i plan to), but naturally i will need to get more familiar with rspec first, so it will take some time. meanwhile any pointers would be greatly appreciated. |
@eLod did you reach the enlightenment point? Do you need some guidance here? |
@pirj no sorry i didn't find the time last year, but i haven't given up on it yet, just busy. |
@pirj @JonRowe so finally i have had some time to dig a bit deeper and at least can articulate my thoughts better. so it seems, as @JonRowe wrote, the what's happening is the problem is, as far as i currently understand it, that the compound 'concept' is broken in how the message expectations are handled in the i am not sure if i am missing anything, like an easy solution, i am happy to work on this, just don't want to jump to implementation before there is some consensus about the direction. |
Yeah that sounds right, the problem is that
I don't think you are missing much 😂 |
@JonRowe that's another angle, like how i understand it currently is that Another way out (compromise) i've realised is simply not enabling compound functionality on |
so just to make it explicit, the alternatives are
apart from the last one all needs to refactor how the edit: i've also realised alternative 2, is not that a great solution (breaking other concepts to support 1 use-case), while alternative 3, already has easier out (how it already records and replays customization, so we only need to handle and record the compound methods on the |
No description provided.