Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Generated unit test for application serializer fails

$
0
0

@kashiif wrote:

I generated application serializer in a vanilla ember-cli 2.4.3 project:

    ember g serializer application

but now the generated test tests/unit/serializers/application-test.js is failing with message

    Promise rejected before it serializes records: Attempting to register an unknown factory: `model:application`

It found this ember-cli issue that pointed me to this issue but it is closed without any hint on how to fix the failing test.

From the above mentioned issues, I get that the test is looking for application model that does not exist. The test is to make sure that the serialize() function works fine.

Can any one comment on how to get this working, please?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles