mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-04 17:03:41 -04:00
Update viewmode.
This commit is contained in:
parent
c3803b2e84
commit
a5d04198dc
2 changed files with 41 additions and 32 deletions
|
@ -122,6 +122,15 @@ describe('module \'' + ID + '\'', function () {
|
|||
this.applyFn();
|
||||
assert.lengthOf($('head > style'), styleTagCount + 1);
|
||||
});
|
||||
|
||||
it('style contains possibly correct text', function () {
|
||||
|
||||
this.applyFn();
|
||||
var text = $('head > style').eq(0).text();
|
||||
assert.isTrue(text.indexOf('#view.view-details.view-size-') >= 0);
|
||||
assert.isTrue(text.indexOf('#view.view-grid.view-size-') >= 0);
|
||||
assert.isTrue(text.indexOf('#view.view-icons.view-size-') >= 0);
|
||||
});
|
||||
});
|
||||
|
||||
describe('works', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue