From 689d7bc8a1b2416231f61c5677a785a07a25d0b6 Mon Sep 17 00:00:00 2001 From: polesye Date: Wed, 28 Jan 2015 09:29:02 +0200 Subject: [PATCH] Fix unit tests. --- lms/static/js/spec/edxnotes/views/shim_spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/static/js/spec/edxnotes/views/shim_spec.js b/lms/static/js/spec/edxnotes/views/shim_spec.js index 6d4335391a..f6fb384636 100644 --- a/lms/static/js/spec/edxnotes/views/shim_spec.js +++ b/lms/static/js/spec/edxnotes/views/shim_spec.js @@ -54,6 +54,7 @@ define([ highlights[0].mouseover(); expect($('#edx-notes-wrapper-123 .annotator-editor')).not.toHaveClass('annotator-hide'); expect($('#edx-notes-wrapper-123 .annotator-viewer')).toHaveClass('annotator-hide'); + }); it('clicking on highlights does not open the viewer when the editor is opened', function() { spyOn(annotators[1].editor, 'isShown').andReturn(false);