diff --git a/lms/static/coffee/spec/calculator_spec.coffee b/lms/static/coffee/spec/calculator_spec.coffee index 1f6f0da732..1dc2898320 100644 --- a/lms/static/coffee/spec/calculator_spec.coffee +++ b/lms/static/coffee/spec/calculator_spec.coffee @@ -91,16 +91,6 @@ describe 'Calculator', -> $('#calculator_input_help').trigger(e); expect($('.help')).toHaveClass 'shown' - describe 'handleKeyUp', -> - it 'on key up of tab button on hint popup it does not hide', -> - calc = @calculator - calc.showHint() - e = jQuery.Event('keyup',{ keyCode: KEY.TAB }) - $(document).activeElement = $('#hint-moreinfo') - calc.handleKeyUpOnHint(e) - expect($('.help')).toHaveClass 'shown' - expect(calc.active_element).toBe($('#hint-moreinfo a:first')) - describe 'selectHint', -> it 'select correct hint item', -> spyOn($.fn, 'focus')