FIX: Broken tests. :(

This commit is contained in:
Robin Ward 2017-03-07 12:36:31 -05:00
parent 42fd4f987e
commit c310a32ac1
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ function hasTopicList() {
test("Root URL", () => {
visit("/users/eviltrout");
andThen(() => {
equal(currentPath(), 'user.userActivity.index', "it defaults to activity");
equal(currentPath(), 'user.summary', "it defaults to summary");
});
});

View File

@ -26,8 +26,8 @@ test("Notifications", () => {
test("Root URL - Viewing Self", () => {
visit("/users/eviltrout");
andThen(() => {
ok($('body.user-summary-page').length, "has the body class");
equal(currentPath(), 'user.summary', "it defaults to summary");
ok($('body.user-activity-page').length, "has the body class");
equal(currentPath(), 'user.userActivity.index', "it defaults to summary");
ok(exists('.container.viewing-self'), "has the viewing-self class");
});
});