diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-19 12:43:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-19 12:43:47 -0500 |
| commit | 620dcdde6e0e423a9343c63c7bc36d9e4301a2d8 (patch) | |
| tree | 999b2d8c46216a45c074f9b889f916f2fd3b8794 /js_tests/admin/SelectBox.test.js | |
| parent | a85e84212e0c0aa05a7c7ddd3ca81a4228ef013e (diff) | |
Updated to QUnit 2.0.1.
Diffstat (limited to 'js_tests/admin/SelectBox.test.js')
| -rw-r--r-- | js_tests/admin/SelectBox.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js_tests/admin/SelectBox.test.js b/js_tests/admin/SelectBox.test.js index cb0259d12c..23c057c364 100644 --- a/js_tests/admin/SelectBox.test.js +++ b/js_tests/admin/SelectBox.test.js @@ -1,17 +1,17 @@ -/* global module, test, SelectBox */ +/* global QUnit, SelectBox */ /* eslint global-strict: 0, strict: 0 */ 'use strict'; -module('admin.SelectBox'); +QUnit.module('admin.SelectBox'); -test('init: no options', function(assert) { +QUnit.test('init: no options', function(assert) { var $ = django.jQuery; $('<select id="id"></select>').appendTo('#qunit-fixture'); SelectBox.init('id'); assert.equal(SelectBox.cache.id.length, 0); }); -test('filter', function(assert) { +QUnit.test('filter', function(assert) { var $ = django.jQuery; $('<select id="id"></select>').appendTo('#qunit-fixture'); $('<option value="0">A</option>').appendTo('#id'); |
