Releases: adopted-ember-addons/ember-data-factory-guy
Releases · adopted-ember-addons/ember-data-factory-guy
v0.9.12
- supporting ember-data.1.0.0-beta.16
v0.9.11
- FactoryGuyTestMixin#handleCreate added ability to set custom status and response text for intended failures
- removed code to merge FactoryGuy definitions.
- Use typeKey for relationship instead of attribute name for build fixture relationship
v0.9.10
- FactoryGuyTestMixin#handleUpdate:
- added chainable methods style
- setting custom response errors and status code in failure cases
v0.9.9
support for ember-data-1.0.0-beta15
v0.9.5
- FactoryGuy.testMixin#handleCreate - added ability for partial matches
- FactoryGuy.testMixin#handleFind - added ability to handle reload
- FactoryGuy.testMixin#handleFindMany deprecated in favor of FactoryGuy.testMixin#handleFindAll
- FactoryGuy.testMixin#handleFind deprecated in favor of FactoryGuy.testMixin#handleFind
v0.9.4
- Added helper method handleFindOne to FactoryGuy.testMixin
v0.9.3
- Fixture Adapter support is functional again
- FactoryGuy.testHelper#handleFindQuery drop support for passing in json
- FactoryGuy.testHelper#handleFindMany bug fix
v0.9.2
- Deprecated #make and #makeList as DS.store methods.
Expect calls to #make and #makeList to be on FactoryGuy.
Changed documentation and tests to reflect that. - Added handleFindQuery method to FactoryGuyTestHelperMixin
- FactoryGuy.makeList now properly accepts 'traits' and 'fixture options' arguments
v0.9.1
Source
- FactoryGuyTestHelperMixin#handleCreate now returns id for newly created record in all cases
v0.9.0
Source
- FactoryGuy requires store to build and make fixtures
- FactoryGuyTestHelperMixin#handleUpdate method can take the model to update as a parameter
Documentation
- Using FactoryGuy.make rather than store.makeFixture