 
   describe 'tablr:align-left', ->
     describe 'when there is no target column', ->
-      it 'change the alignment of the active column', ->
+      it 'changes the alignment of the active column', ->
         tableEditor.getScreenColumn(tableEditor.getCursorPosition().column).align = 'right'
 
         atom.commands.dispatch(tableElement, 'tablr:align-left')


  describe 'tablr:align-right', ->
    describe 'when there is no target column', ->
      it 'change the alignment of the active column', ->
        atom.commands.dispatch(tableElement, 'tablr:align-right')

        expect(tableEditor.getScreenColumn(tableEditor.getCursorPosition().column).align).toEqual('right')

    describe 'when there is a target column', ->
      it 'change the alignment of the target column', ->
        tableElement.contextMenuColumn = 2

        atom.commands.dispatch(tableElement, 'tablr:align-right')


        describe 'core:confirm', ->
          describe 'when the editor is still on the dynamic name', ->
            it 'does not changes the cell value', ->
              atom.commands.dispatch(editorElement, 'core:confirm')
              expect(tableEditor.getScreenColumn(0).name).toEqual(undefined)

          describe 'when the editor is empty', ->
            it 'does not changes the cell value', ->
              confirmHeaderCellEdit()
              expect(tableEditor.getScreenColumn(0).name).toEqual(undefined)

