Skip to content

Releases: adopted-ember-addons/ember-data-factory-guy

v0.9.11

19 Mar 21:59
Compare
Choose a tag to compare
  • 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

19 Mar 22:01
Compare
Choose a tag to compare
  • FactoryGuyTestMixin#handleUpdate:
    • added chainable methods style
    • setting custom response errors and status code in failure cases

v0.9.9

19 Mar 22:02
Compare
Choose a tag to compare

support for ember-data-1.0.0-beta15

v0.9.5

17 Jan 10:40
Compare
Choose a tag to compare
  • 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

15 Jan 18:23
Compare
Choose a tag to compare
  • Added helper method handleFindOne to FactoryGuy.testMixin

v0.9.3

12 Jan 10:58
Compare
Choose a tag to compare
  • Fixture Adapter support is functional again
  • FactoryGuy.testHelper#handleFindQuery drop support for passing in json
  • FactoryGuy.testHelper#handleFindMany bug fix

v0.9.2

23 Dec 20:30
Compare
Choose a tag to compare
  • 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

16 Dec 15:19
Compare
Choose a tag to compare

Source

  • FactoryGuyTestHelperMixin#handleCreate now returns id for newly created record in all cases

v0.9.0

16 Dec 05:01
Compare
Choose a tag to compare

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

v0.8.7

16 Dec 18:22
Compare
Choose a tag to compare

Source

  • Updated ember data to ember-data-1.0.0-beta.12