mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -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");
|
|
});
|
|
});
|
|
|