window.App.setupForTesting();
window.App.injectTestHelpers();
module("Integration Tests", {
setup: function() {
window.App.reset();
}
});
test("index redirect to auth and authenticate", function(){
visit("/").click('.linkToRegister').then(function(){debugger});
});
My IndexRoute redirect me to #/auth and render auth form template. Link ‘.linkToRegister’ - transitionTo register route. But when i run testing - i see auth page only. Click event not work. Anything after “visit” function not work. Why?