Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "nature", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Classify the things in your world and how they interact.", | ||
@@ -5,0 +5,0 @@ "main": "lib/nature.js", |
@@ -27,1 +27,24 @@ var test = require("tap").test; | ||
}); | ||
test("design.where(model, { groups: 'blah' })", function(t){ | ||
var attributes = [ | ||
{ | ||
groups: ["test1", "all"], | ||
attributes: [ | ||
{ name: "verbose", type: Boolean }, | ||
{ name: "colour", type: String } | ||
] | ||
}, | ||
{ | ||
groups: ["test2", "all"], | ||
attributes: [ | ||
{ name: "three", type: Boolean }, | ||
{ name: "four", type: Boolean } | ||
] | ||
} | ||
]; | ||
var design = Design(attributes); | ||
t.deepEqual(design.groups(), [ "test1", "all", "test2" ]); | ||
t.end(); | ||
}); |
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
87930
2128