Merge pull request #1933 from matiu/ivan

Tested with @matiaspando
This commit is contained in:
Matias Alejo Garcia 2014-12-02 18:28:31 -03:00
commit 0bac775982
21 changed files with 166 additions and 49 deletions

View file

@ -16,7 +16,7 @@ describe('http utils', function() {
send: function() {
var self = this;
setTimeout(function() {
self.response = 'test';
self.response = [1,2,3,4];
self.error ? self.onerror() : self.onload();
}, 10);
},

View file

@ -21,7 +21,7 @@ describe('log utils', function() {
log.warn('hola');
var arg = console.warn.getCall(0).args[0];
arg.should.contain('util.log.js');
//arg.should.contain('util.log.js'); /* Firefox does not include the stack track */
arg.should.contain('hola');
console.warn.restore();
});