       runs ->
         expect(projectFindView.caseOptionButton).toHaveClass 'selected'
         expect(projectFindView.regexOptionButton).toHaveClass 'selected'
+        expect(projectFindView.wholeWordOptionButton).toHaveClass 'selected'
 
   describe "when project-find:toggle is triggered", ->
     it "toggles the visibility of the ProjectFindView", ->

        runs ->
          expect(projectFindView.caseOptionButton).toHaveClass('selected')
          expect(projectFindView.regexOptionButton).toHaveClass('selected')

    describe "description label", ->
      beforeEach ->

        projectFindView.regexOptionButton.click()
        expect(projectFindView.regexOptionButton).toHaveClass('selected')

        expect(projectFindView.wholeWordOptionButton).not.toHaveClass('selected')
        projectFindView.wholeWordOptionButton.click()
        expect(projectFindView.wholeWordOptionButton).toHaveClass('selected')

        atom.packages.deactivatePackage("find-and-replace")

        activationPromise = atom.packages.activatePackage("find-and-replace").then ({mainModule}) ->
