Closed andrasio closed 1 year ago
Hi all,
I'm curious why the have_published_event matcher only supports block expectations as stated in the readme. I'm curious to know the reason why we wouldn't be able to do expect(...).to have_published_event(SomeEventClass)
have_published_event
expect(...).to have_published_event(SomeEventClass)
Thank you!
Hey!
Enforcing block expectations prevent from potential flakiness caused by shared state (or setup code which may also trigger events).
Hi all,
I'm curious why the
have_published_event
matcher only supports block expectations as stated in the readme. I'm curious to know the reason why we wouldn't be able to doexpect(...).to have_published_event(SomeEventClass)
Thank you!