visit (url) RSVP.Promisepublic
Loads a route, sets up any controllers, and renders any templates associated with the route as though a real user had triggered the route change while using your app.
Example:
visit('posts/index').then(function() {
// assert something
});
Parameters:
-
url
String - the name of the route
Please login to continue.