velesin/jasmine-jquery — pull request #119 by kn (2013-03-27 22:16:08+00:00)
Title: Add toHaveBeenTriggeredOnAndWith jasmine helper

jQuery's `trigger` method allows us to pass extra parameter as an object or array in addition to an event name.

This PR adds `toHaveBeenTriggeredOnAndWith` function that checks if a given event is triggered on expected jQuery object with expected extra parameter.