For what reason do you think that when ember-cli hits this test, it goes bananas loading it over and over in an infinite loop.
test('a user can submit the form', function(assert) {
authenticateSession();
visit('/blogs/new')
.fillIn('#title')
.fillIn('#url')
.click('button[type=submit]');
andThen(function() {
assert.equal(currentURL(), '/');
});
});
Aucun commentaire:
Enregistrer un commentaire