mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Minor changes.
This commit is contained in:
parent
2331f21f90
commit
3360e4d167
1 changed files with 5 additions and 5 deletions
|
@ -160,7 +160,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
});
|
||||
});
|
||||
|
||||
// describe('.render()', function () {
|
||||
// describe('._.createHtml()', function () {
|
||||
|
||||
// before(function () {
|
||||
|
||||
|
@ -182,14 +182,14 @@ describe('module \'' + ID + '\'', function () {
|
|||
// it('is function', function () {
|
||||
|
||||
// var instance = this.applyFn();
|
||||
// assert.isFunction(instance.render);
|
||||
// assert.isFunction(instance._.createHtml);
|
||||
// });
|
||||
|
||||
// it('returns jQuery instance of single HTML element', function () {
|
||||
|
||||
// var item = this.createItem();
|
||||
// var instance = this.applyFn();
|
||||
// var $item = instance.render(item);
|
||||
// var $item = instance._.createHtml(item);
|
||||
// assert.isObject($item);
|
||||
// assert.lengthOf($item, 1);
|
||||
// assert.isString($item.jquery);
|
||||
|
@ -199,7 +199,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
// var item = this.createItem();
|
||||
// var instance = this.applyFn();
|
||||
// var $item = instance.render(item);
|
||||
// var $item = instance._.createHtml(item);
|
||||
// assert.strictEqual($item.data('item'), item);
|
||||
// });
|
||||
|
||||
|
@ -207,7 +207,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
// var item = this.createItem();
|
||||
// var instance = this.applyFn();
|
||||
// var $item = instance.render(item);
|
||||
// var $item = instance._.createHtml(item);
|
||||
// assert.strictEqual(item.$view, $item);
|
||||
// });
|
||||
// });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue