Lee Byrd & Christian Williams
2939aff80c
deprecating wasCalled, wasCalledWith, wasNotCalled, wasNotCalledWith and adding toHaveBeenCalled, and toHaveBeenCalledWith
2010-06-24 10:34:03 -07:00
Lee Byrd & Christian Williams
1154fcaf3b
Refactor.
2010-06-22 16:45:35 -07:00
Lee Byrd & Christian Williams
01d842fdfd
Removed references to 'window'; using jasmine.getGlobal() instead in order to better support non-browser environments.
...
Better protection around access to console.
The global object is now pretty-printed as "<global>", not "<window>".
Tests are a little closer to passing in node.js.
2010-06-22 16:22:09 -07:00
Lee Byrd & Christian Williams
e7cd6a473a
jasmine.log() and Spec#log() take multiple arguments which are pretty-printed and concatted together.
...
Log messages are handled correctly in TrivialReporter and JsApiReporter.
2010-06-22 12:23:54 -07:00