Minor changes.
This commit is contained in:
parent
2365c23af7
commit
f7e3f4da79
@ -87,7 +87,7 @@ describe('module \'' + ID + '\'', function () {
|
|||||||
assert.lengthOfKeys(instance, 1);
|
assert.lengthOfKeys(instance, 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds HTML #sidebar-toggle', function () {
|
it('adds HTML #sidebar-toggle to #toolbar', function () {
|
||||||
|
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
assert.lengthOf($('#toolbar > #sidebar-toggle'), 1);
|
assert.lengthOf($('#toolbar > #sidebar-toggle'), 1);
|
||||||
|
|||||||
@ -86,13 +86,13 @@ describe('module \'' + ID + '\'', function () {
|
|||||||
assert.isUndefined(instance);
|
assert.isUndefined(instance);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds HTML to #sidebar', function () {
|
it('adds HTML .block to #sidebar', function () {
|
||||||
|
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
assert.lengthOf($('#sidebar > .block > .l10n-view'), 1);
|
assert.lengthOf($('#sidebar > .block > .l10n-view'), 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds Style to head', function () {
|
it('adds style to head', function () {
|
||||||
|
|
||||||
var styleTagCount = $('head > style').length;
|
var styleTagCount = $('head > style').length;
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user