diff --git a/test/unit/base.html b/test/unit/base.html index ebb59bc739..cb67fd8ff3 100644 --- a/test/unit/base.html +++ b/test/unit/base.html @@ -156,17 +156,17 @@ test('only allow logging methods', function() { var warnStub = sinon.stub(console, 'warn'); var errorStub = sinon.stub(console, 'error'); - var traceStub = sinon.stub(console, 'trace'); + var dirStub = sinon.stub(console, 'dir'); var args = ['hi']; Polymer.Base._logger('warn', args); Polymer.Base._logger('error', args); - Polymer.Base._logger('trace', args); + Polymer.Base._logger('dir', args); warnStub.restore(); errorStub.restore(); - traceStub.restore(); + dirStub.restore(); assert.equal(warnStub.callCount, 1); assert.equal(errorStub.callCount, 1); - assert.equal(traceStub.callCount, 0); + assert.equal(dirStub.callCount, 0); }); test('logging methods accept strings or an array', function() {