Upgrade QUnit to latest version

This commit is contained in:
Robin Ward
2017-06-14 13:57:58 -04:00
parent 8ae445766f
commit cc525b1a8d
145 changed files with 7569 additions and 6763 deletions

View File

@ -1,17 +1,17 @@
import { acceptance } from "helpers/qunit-helpers";
acceptance("User Directory");
test("Visit Page", function() {
QUnit.test("Visit Page", assert => {
visit("/users");
andThen(() => {
ok($('body.users-page').length, "has the body class");
ok(exists('.directory table tr'), "has a list of users");
assert.ok($('body.users-page').length, "has the body class");
assert.ok(exists('.directory table tr'), "has a list of users");
});
});
test("Visit All Time", function() {
QUnit.test("Visit All Time", assert => {
visit("/users?period=all");
andThen(() => {
ok(exists('.time-read'), "has time read column");
assert.ok(exists('.time-read'), "has time read column");
});
});
});