I am creating a bunch of models to use with ember-data, and I would like to make sure when I perform operations with them like:
this.get('store').findRecord('blog-post', 1);
That the record returned has the attributes in the format I expect.
I would like to write an integration/acceptance test which calls my actual service, but I have not been able to get access to the store within my tests.
Any recommendations on how to test if my models are configured correctly for my service output.
Aucun commentaire:
Enregistrer un commentaire