discourse/test/javascripts/acceptance/user-test.js.es6

18 lines
408 B
Text
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
import { hasStream } from 'acceptance/user-anonymous-test';
2014-07-30 13:27:14 -04:00
2015-04-21 14:36:46 -04:00
acceptance("User", {loggedIn: true});
2014-07-30 13:27:14 -04:00
test("Pending", () => {
visit("/users/eviltrout/activity/pending");
hasStream();
});
test("Root URL - Viewing Self", () => {
visit("/users/eviltrout");
andThen(() => {
equal(currentPath(), 'user.summary', "it defaults to summary");
});
});