node-entity
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -166,3 +166,2 @@ /** | ||
var seqSchema = this.Model.rawAttributes; | ||
this._schema = []; | ||
@@ -169,0 +168,0 @@ __.forIn(seqSchema, function(seqSchemaItem, path) { |
{ | ||
"name": "node-entity", | ||
"description": "The MVCe implementation for Node.js", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/thanpolas/entity", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -458,2 +458,4 @@ # Entity | ||
## Release History | ||
- **v0.2.3**, *17 Feb 2014* | ||
- Fixed bug on Sequelize adaptor that returned wrong type of value with `getSchema()`. | ||
- **v0.2.2**, *17 Feb 2014* | ||
@@ -460,0 +462,0 @@ - Upgraded all package dependencies to latest. |
@@ -32,4 +32,9 @@ /** | ||
test(majNum + '.9.1 Look for expected keys in Schema', function() { | ||
test(majNum + '.9.1 Look for expected getSchema() return value type', function() { | ||
var schema = ent.getSchema(); | ||
assert.notOk(Array.isArray(schema)); | ||
assert.isObject(schema); | ||
}); | ||
test(majNum + '.9.2 Look for expected keys in Schema', function() { | ||
var schema = ent.getSchema(); | ||
assert.property(schema, 'name'); | ||
@@ -36,0 +41,0 @@ assert.property(schema, '_isActive'); |
@@ -106,2 +106,3 @@ /** | ||
var schema = ent.getSchema(); | ||
assert.notOk(Array.isArray(schema), 'schema should not be an array'); | ||
assert.isObject(schema); | ||
@@ -108,0 +109,0 @@ assert.deepPropertyVal(schema, 'firstName.name', 'firstName'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75710
1743
489