aboutsummaryrefslogtreecommitdiffstats
path: root/library/cropperjs/test/methods/enable.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/cropperjs/test/methods/enable.js')
-rw-r--r--library/cropperjs/test/methods/enable.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/library/cropperjs/test/methods/enable.js b/library/cropperjs/test/methods/enable.js
deleted file mode 100644
index ebd5b9529..000000000
--- a/library/cropperjs/test/methods/enable.js
+++ /dev/null
@@ -1,23 +0,0 @@
-QUnit.test('methods#enable', function (assert) {
- var done = assert.async();
- var util = window.Util;
- var image = util.createImage();
-
- assert.expect(4);
-
- return new Cropper(image, {
- ready: function () {
- var cropper = this.cropper;
-
- cropper.disable();
- assert.ok(cropper.disabled);
- assert.ok(util.hasClass(cropper.cropper, 'cropper-disabled'));
-
- cropper.enable();
- assert.notOk(cropper.disabled);
- assert.notOk(util.hasClass(cropper.cropper, 'cropper-disabled'));
-
- done();
- }
- });
-});