factory-girl
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "factory-girl", | ||
"description": "A factory library for javascript / node.js inspired by factory_girl", | ||
"description": "A factory library for Node.js and JavaScript inspired by factory_girl", | ||
"main": "./index", | ||
"author": "Simon Wade", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"keywords": ["factory", "test", "bdd", "tdd", "fixture"], | ||
@@ -8,0 +8,0 @@ "repository" : { |
@@ -52,9 +52,7 @@ # factory-girl | ||
}); | ||
console.log(factory.build('post')); => {user_id: 123, subject: 'Hello World', slug: 'hello-world'} | ||
``` | ||
console.log(factory.build('post')); => {user_id: 123, subject: 'Hello World', slug: 'hello-world'} | ||
## Using Factories | ||
JavaScript: | ||
```javascript | ||
@@ -61,0 +59,0 @@ factory.build('post', function(err, post) { |
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
15256
80