2015-04-06 14:14:00 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("User Directory");
|
2015-03-16 15:14:33 -04:00
|
|
|
|
2015-03-19 11:48:16 -04:00
|
|
|
test("Visit Page", function() {
|
|
|
|
visit("/users");
|
2015-03-19 07:22:56 -04:00
|
|
|
andThen(() => {
|
2015-03-16 15:14:33 -04:00
|
|
|
ok(exists('.directory table tr'), "has a list of users");
|
|
|
|
});
|
|
|
|
});
|
2015-06-12 06:40:07 -04:00
|
|
|
|
|
|
|
test("Visit All Time", function() {
|
|
|
|
visit("/users?period=all");
|
|
|
|
andThen(() => {
|
|
|
|
ok(exists('.time-read'), "has time read column");
|
|
|
|
});
|
|
|
|
});
|