Clean code.

This commit is contained in:
Lars Jung 2015-04-25 17:29:15 +02:00
parent 1a47a2aa3b
commit d5a0dce27a
6 changed files with 12 additions and 12 deletions

View file

@ -112,7 +112,7 @@ describe('module \'' + ID + '\'', function () {
assert.isTrue(this.xAjax.calledOnce);
assert.strictEqual(this.xAjax.lastCall.args[0].url, 'server/php/index.php');
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'POST');
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'post');
assert.strictEqual(this.xAjax.lastCall.args[0].dataType, 'json');
assert.isTrue(this.xAjaxResult.done.calledOnce);
@ -134,7 +134,7 @@ describe('module \'' + ID + '\'', function () {
assert.isTrue(this.xAjax.calledOnce);
assert.strictEqual(this.xAjax.lastCall.args[0].url, '.');
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'POST');
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'post');
assert.strictEqual(this.xAjax.lastCall.args[0].dataType, 'json');
assert.isTrue(this.xAjaxResult.done.calledOnce);