ember-cli-pact icon indicating copy to clipboard operation
ember-cli-pact copied to clipboard

[enh] return created model so it can be used on test cases' interactions

Open gustavocabral opened this issue 6 years ago • 0 comments

Goal

  • Leverage given method by making it return the provided new state

Changes

  • addState now returns whatever the providerState's callback results

Tests

  • a bed exists providerState returns the model created on Mirage server.

gustavocabral avatar Jan 03 '20 19:01 gustavocabral