         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('foo:second')
      dispatch('foo:third')

      expect(logger.getText()).toBe """
        ```
             -0:00.0 foo:first (atom-workspace.workspace.scrollbars-visible-when-scrolling)
             -0:00.0 foo:second (atom-workspace.workspace.scrollbars-visible-when-scrolling)
             -0:00.0 foo:third (atom-workspace.workspace.scrollbars-visible-when-scrolling)
        ```
      """



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

  removeScrollbarClass = (str) ->
    str.replace /\.scrollbars-visible-(when-scrolling|always)/g, ''

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