         time: Date.now()
         title: 'bummer'
 
-      expect(logger.getText(event)).toBe """
+      expect(removeScrollbarClass(logger.getText(event))).toBe """
         ```
-             -0:00.0 foo:bar (atom-workspace.workspace.scrollbars-visible-when-scrolling)
+             -0:00.0 foo:bar (atom-workspace.workspace)
              -0:00.0 bummer
         ```
       """


  dispatch = (command) ->
    atom.commands.dispatch(workspaceElement, command)

  beforeEach ->
    workspaceElement = atom.views.getView(atom.workspace)

    it 'formats commands with the time, name and source', ->
      atom.commands.dispatch(workspaceElement, 'foo:bar')

      expect(removeScrollbarClass(logger.getText())).toBe """
        ```
             -0:00.0 foo:bar (atom-workspace.workspace)
        ```
      """

