discourse/test/javascripts/acceptance/user-test.js.es6
2016-08-02 13:21:24 -04:00

18 lines
408 B
JavaScript

import { acceptance } from "helpers/qunit-helpers";
import { hasStream } from 'acceptance/user-anonymous-test';
acceptance("User", {loggedIn: true});
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");
});
});