AdamNowotny/jasmine-signals — pull request #2 by gavJackson (2012-09-17 10:57:24+00:00)
Title: added custom message to toHaveBeenDispatched matcher

NOTE:
I am a bit of a Git N00b and accidently checked in my IDE project files, not sure how to remove them but the only files that I want you to include in the master are the changes in:

spec/jasmine-signalsSpec.js
src/jasmine-signals.js

ABOUT:
Now spits out more helpful matcher messages on failed matches.
For example if it fails to match on
spyOnSignal(signal).matchingValues("a","b")

The test runner will show the message:
Expected [Signal active:true numListeners:1] to have been dispatched (1
times but was 0) with 2 params: (`a` was `a`)(expected `b` but was `3`)