rackerlabs/atom-cloud-sync — pull request #12 by rgbkrk (2014-04-04 22:31:29+00:00)
Title: Mock pkgcloud.storage.createClient using a phony

Setting up better tests and an actual mock class.

If there's a better way to do this while in Jasmine, I'm all ears. I was tempted to `createSpy` and use `andCallFake`, but didn't see a way to use it cleanly right off the bat.