mardi 3 mars 2015

Issue with ember test: beforeEach failed on it exists

I have this code that doesn't work fine in a test:



click('#home');
andThen(function() {
assert.equal(currentPath(), 'index');
});

beforeEach failed on it exists: Attempting to register an unknown factory: `model:app/index


but running ember server it works fine, I also have the mocks set up correct.





Aucun commentaire:

Enregistrer un commentaire