diff options
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/notes_spec.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/javascripts/notes_spec.js b/spec/javascripts/notes_spec.js index 8514c7ac5a1..d7aa7a3d9e6 100644 --- a/spec/javascripts/notes_spec.js +++ b/spec/javascripts/notes_spec.js @@ -380,13 +380,9 @@ import '~/notes'; document.body.appendChild(line); $form.closest.and.returnValues($form); - spyOn(document, 'getElementById').and.callThrough(); - spyOn($.fn, 'after').and.callThrough(); Notes.prototype.renderDiscussionNote.call(notes, note, $form); - expect(document.getElementById).toHaveBeenCalledWith(note.discussion_line_code); - expect($.fn.after).toHaveBeenCalled(); expect(line.nextSibling.outerHTML).toEqual(note.diff_discussion_html); }); }); |