a javascript mocking library
you'll need those dependencies in order to run chameleon's tests
and hanoi gem:
[sudo] gem install hanoi
rake test:js
todo
-
usage
-
an argument to the withArguments function that will represent that the author of the test wants to ignore the check of the argument
-
a new syntax that won't require the creation of a Chameleon Object for each mocked object, something like this
var c = new Chameleon; c.expects('global.method').withArguments(456); c.expects(localObj, 'method').withArguments(456); c.verify(); c.reset();