cjohansen/Sinon.JS — pull request #468 by glenjamin (2014-04-20 21:04:45+00:00)
Title: Allow explicit naming of spies and stubs

Here's the implementation for #418 - a bit later than intended!

Took me a while to decide where to put the tests, but functionToString explicitly mentions displayName, so I figure it's reasonable to assert on it as part of the external interface of spy/stub.