Skip to content

Commit

Permalink
fix(specs): Spec fixes for 37e1f6b
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Jan 13, 2016
1 parent d78db01 commit fb41a81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe "SpellcheckComposerExtension", ->
spyOn(SpellcheckComposerExtension, 'isMisspelled').andCallFake (word) ->
spellings[word]

describe "walkTree", ->
describe "update", ->
it "correctly walks a DOM tree and surrounds mispelled words", ->
dom = document.createElement('div')
dom.innerHTML = initialHTML
Expand All @@ -21,7 +21,7 @@ describe "SpellcheckComposerExtension", ->
rootNode: dom
whilePreservingSelection: (cb) -> cb()

SpellcheckComposerExtension.walkTree(editor)
SpellcheckComposerExtension.update(editor)
expect(dom.innerHTML).toEqual(expectedHTML)

describe "finalizeSessionBeforeSending", ->
Expand Down

0 comments on commit fb41a81

Please sign in to comment.