diff --git a/lib/model.js b/lib/model.js index cdc0ff1..8d618d0 100644 --- a/lib/model.js +++ b/lib/model.js @@ -24,7 +24,6 @@ var util = require('util') * But you really need to want it to trigger such behaviour, even when warned not to use '$' at the beginning of the field names... */ function checkKey (k, v) { - if (typeof k === 'number') { k = k.toString(); } diff --git a/test/model.test.js b/test/model.test.js index 8c84f8e..0ab78c1 100644 --- a/test/model.test.js +++ b/test/model.test.js @@ -11,7 +11,7 @@ var model = require('../lib/model') describe('Model', function () { - describe.only('Serialization, deserialization', function () { + describe('Serialization, deserialization', function () { it('Can serialize and deserialize strings', function () { var a, b, c;