cjohansen/Sinon.JS — pull request #85 by joymax (2012-02-19 16:16:58+00:00)
Title: Fixed work with sinon.useFakeTImers() and Rhino.js 1.7R3

This is fix for my blog post about Sinon.js and Fake timers: [Headless JavaScript testing, Sinon.js, Fake Timers and Rhino](http://djangoandother.blogspot.com/2012/02/headless-javascript-testing-sinonjs.html).

As promised, I've made environment with Rhino and Sinon.js where test for Fake Timers is not work properly ([download](http://dl.dropbox.com/u/28023777/sinon-rhino.tar.bz2)). To execute tests use `./runtests.sh`.

The main reason of issue is that Rhino.js use global object called `global` which cause conflict with Sinon.js `global` object recognition.

I've not wrote regression tests because most of the tests are failed within Rhino.js.