fix first failing test
This commit is contained in:
parent
210a1ef7e6
commit
e3cbcadbd8
|
@ -367,7 +367,7 @@ describe('Core base tests', function() {
|
||||||
'<a id="owncloud" href="#"></a>' +
|
'<a id="owncloud" href="#"></a>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<div id="navigation"></div>');
|
'<div id="navigation"></div>');
|
||||||
$toggle = $('#owncloud');
|
$toggle = $('#header').find('.menutoggle');
|
||||||
$navigation = $('#navigation');
|
$navigation = $('#navigation');
|
||||||
});
|
});
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
|
@ -375,7 +375,6 @@ describe('Core base tests', function() {
|
||||||
});
|
});
|
||||||
it('Sets up menu toggle', function() {
|
it('Sets up menu toggle', function() {
|
||||||
window.initCore();
|
window.initCore();
|
||||||
expect($toggle.hasClass('menutoggle')).toEqual(true);
|
|
||||||
expect($navigation.hasClass('menu')).toEqual(true);
|
expect($navigation.hasClass('menu')).toEqual(true);
|
||||||
});
|
});
|
||||||
it('Clicking menu toggle toggles navigation in', function() {
|
it('Clicking menu toggle toggles navigation in', function() {
|
||||||
|
|
Loading…
Reference in New Issue