mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 06:48:14 +08:00
18 lines
408 B
JavaScript
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");
|
|
});
|
|
});
|
|
|