           expect(eventLi.find('span')).toHaveText(description)
           expect(eventLi.find('span').attr('title')).toBe(eventName)
           for binding in keyBindings when binding.command is eventName
-            expect(eventLi.find(".key-binding:contains(#{_.humanizeKeystroke(binding.keystroke)})")).toExist()
+            expect(eventLi.find(".key-binding:contains(#{_.humanizeKeystroke(binding.keystrokes)})")).toExist()
         else
           expect(eventLi).not.toExist()


  describe "when command-palette:toggle is triggered on the root view", ->
    it "shows a list of all valid command descriptions, names, and keybindings for the previously focused element", ->
      keyBindings = atom.keymap.keyBindingsMatchingElement(atom.workspaceView.getActiveView())
      for eventName, description of atom.workspaceView.getActiveView().events()
        eventLi = palette.find("[data-event-name='#{eventName}']")
        if description

      atom.workspaceView.trigger 'command-palette:toggle'
      $(':focus').blur()
      atom.workspaceView.trigger 'command-palette:toggle'
      keyBindings = atom.keymap.findKeyBindings(atom.workspaceView.getActiveView())
      for eventName, description of atom.workspaceView.events()
        eventLi = palette.list.children("[data-event-name='#{eventName}']")
        if description
