Open nomasprime opened 3 years ago
That confirms my experience, thanks for reporting. Do you think this can be fixed, @nomasprime ?
@pirj sure.
My RSpec internals knowledge isn't great but I'll try to have a look when I have more time.
Maybe one of the authors would have a better idea.
Just by glancing over, I'd suggest taking a look at run_around_example_hooks_for
. Pending.mark_pending!
might be an interesting place to peek at.
I can't replicate this atm to confirm (I get a different error) but this will be because of how hooks are run, you'll need to tell the parent process the example has been run.
Example passes with pseudo before hack:
Example seems to be inappropriately marked pending with around hook:
Expect this to also pass.
Your environment