wisper-rspec
wisper-rspec copied to clipboard
Singleton Matcher
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
Is this backwards compatible in terms of what the broadcast can do?
Can you update the README and CHANGELOG files please.