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

18 lines
408 B
Plaintext
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
import { hasStream } from 'acceptance/user-anonymous-test';
2014-07-31 01:27:14 +08:00
2015-04-22 02:36:46 +08:00
acceptance("User", {loggedIn: true});
2014-07-31 01:27:14 +08: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");
});
});