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