@eflexsystems/factory-bot
Version:
A factory library for Node.js and JavaScript inspired by factory_girl
13 lines (8 loc) • 379 B
Markdown
## v4.0.0
Total rewrite. Should preserve backwards compatibility except as noted below.
- `assocBuild` is now `assocAttr`
- `assocBuildMany`
- `FactoryGirl.setAdapter` now takes an array of `factoryNames` for convenience
## v3.0.0
- `afterBuild` now takes `attrs` as the second parameter. If you need the `options` they can be
accessed from the receiver in `this.options`.