mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
17 lines
408 B
JavaScript
17 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");
|
|
});
|
|
});
|
|
|