diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-06-05 00:40:15 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-06-05 00:40:15 +0200 |
commit | e3cbcadbd85ef7c704c3fe744452019949453d2b (patch) | |
tree | 8653a4c9da31fe5a023d4af70070986a3b7030c4 /core | |
parent | 210a1ef7e6862af6313063b9e64b7c4563c7540d (diff) | |
download | nextcloud-server-e3cbcadbd85ef7c704c3fe744452019949453d2b.tar.gz nextcloud-server-e3cbcadbd85ef7c704c3fe744452019949453d2b.zip |
fix first failing test
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specs/coreSpec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index 0efa79a49bc..e926dd2bc2f 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -367,7 +367,7 @@ describe('Core base tests', function() { '<a id="owncloud" href="#"></a>' + '</div>' + '<div id="navigation"></div>'); - $toggle = $('#owncloud'); + $toggle = $('#header').find('.menutoggle'); $navigation = $('#navigation'); }); afterEach(function() { @@ -375,7 +375,6 @@ describe('Core base tests', function() { }); it('Sets up menu toggle', function() { window.initCore(); - expect($toggle.hasClass('menutoggle')).toEqual(true); expect($navigation.hasClass('menu')).toEqual(true); }); it('Clicking menu toggle toggles navigation in', function() { |