From c310a32ac1e710ed18f3d3a8ea2a70474469c07c Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 7 Mar 2017 12:36:31 -0500 Subject: [PATCH] FIX: Broken tests. :( --- test/javascripts/acceptance/user-anonymous-test.js.es6 | 2 +- test/javascripts/acceptance/user-test.js.es6 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/javascripts/acceptance/user-anonymous-test.js.es6 b/test/javascripts/acceptance/user-anonymous-test.js.es6 index 6d41bffc6a6..982621cb91a 100644 --- a/test/javascripts/acceptance/user-anonymous-test.js.es6 +++ b/test/javascripts/acceptance/user-anonymous-test.js.es6 @@ -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"); }); }); diff --git a/test/javascripts/acceptance/user-test.js.es6 b/test/javascripts/acceptance/user-test.js.es6 index 36bc916295e..84fd02aa0b7 100644 --- a/test/javascripts/acceptance/user-test.js.es6 +++ b/test/javascripts/acceptance/user-test.js.es6 @@ -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"); }); });