       expect(rootView.panes.find('.pane > .status-bar').length).toBe 2
 
   describe ".initialize(editor)", ->
-    it "displays the editor's buffer path and cursor buffer position", ->
+    it "displays the editor's buffer path, cursor buffer position, and buffer modified indicator", ->
       expect(statusBar.currentPath.text()).toBe 'sample.js'
+      expect(statusBar.bufferModified.text()).toBe ''
       expect(statusBar.cursorPosition.text()).toBe '1,1'
 
     describe "when associated with an unsaved buffer", ->

StatusBar = require 'status-bar'

describe "StatusBar", ->
  [rootView, editor, statusBar] = []

  beforeEach ->
    rootView = new RootView(require.resolve('fixtures/sample.js'))

    StatusBar.activate(rootView)
    editor = rootView.getActiveEditor()
    statusBar = rootView.find('.status-bar').view()
    buffer = editor.getBuffer()

  afterEach ->
    rootView.remove()
