summaryrefslogtreecommitdiff
path: root/js_tests/admin/RelatedObjectLookups.test.js
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-19 12:43:47 -0500
committerGitHub <noreply@github.com>2016-12-19 12:43:47 -0500
commit620dcdde6e0e423a9343c63c7bc36d9e4301a2d8 (patch)
tree999b2d8c46216a45c074f9b889f916f2fd3b8794 /js_tests/admin/RelatedObjectLookups.test.js
parenta85e84212e0c0aa05a7c7ddd3ca81a4228ef013e (diff)
Updated to QUnit 2.0.1.
Diffstat (limited to 'js_tests/admin/RelatedObjectLookups.test.js')
-rw-r--r--js_tests/admin/RelatedObjectLookups.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js_tests/admin/RelatedObjectLookups.test.js b/js_tests/admin/RelatedObjectLookups.test.js
index 83071edd43..9ec1eed102 100644
--- a/js_tests/admin/RelatedObjectLookups.test.js
+++ b/js_tests/admin/RelatedObjectLookups.test.js
@@ -1,16 +1,16 @@
-/* global module, test, id_to_windowname,
+/* global QUnit, id_to_windowname,
windowname_to_id */
/* eslint global-strict: 0, strict: 0 */
'use strict';
-module('admin.RelatedObjectLookups');
+QUnit.module('admin.RelatedObjectLookups');
-test('id_to_windowname', function(assert) {
+QUnit.test('id_to_windowname', function(assert) {
assert.equal(id_to_windowname('.test'), '__dot__test');
assert.equal(id_to_windowname('misc-test'), 'misc__dash__test');
});
-test('windowname_to_id', function(assert) {
+QUnit.test('windowname_to_id', function(assert) {
assert.equal(windowname_to_id('__dot__test'), '.test');
assert.equal(windowname_to_id('misc__dash__test'), 'misc-test');
});