wisper-rspec icon indicating copy to clipboard operation
wisper-rspec copied to clipboard

Singleton Matcher

Open chr0n1x opened this issue 5 years ago • 1 comments

cc @krisleech

Allows for expect blocks like:

expect { thingy.do_and_broadcast }.to broadcast(anything)

Also added some newlines to the error messages because I have larger objects being broadcasted around and it was hurting my eyes. Let me know if it's not ok though and I'll remove https://github.com/krisleech/wisper-rspec/commit/01976d6b68e2e68eab7a32301a9df831d11b29f8

chr0n1x avatar Aug 07 '20 16:08 chr0n1x

Is this backwards compatible in terms of what the broadcast can do? Can you update the README and CHANGELOG files please.

krisleech avatar Aug 24 '20 12:08 krisleech