content: import React from 'react'
  
  import * as common from 'test/specs/commonTests'
  import TableCell from 'src/collections/Table/TableCell'
  
  describe('TableCell', () => {
    common.isConformant(TableCell)
    common.rendersChildren(TableCell)
  
    common.implementsCreateMethod(TableCell)
    common.implementsTextAlignProp(TableCell)
    common.implementsVerticalAlignProp(TableCell)
    common.implementsWidthProp(TableCell, { propKey: 'width', widthClass: 'wide', canEqual: false })
  
    common.propKeyOnlyToClassName(TableCell, 'active')
    common.propKeyOnlyToClassName(TableCell, 'collapsing')
    common.propKeyOnlyToClassName(TableCell, 'disabled')
    common.propKeyOnlyToClassName(TableCell, 'error')
    common.propKeyOnlyToClassName(TableCell, 'negative')
    common.propKeyOnlyToClassName(TableCell, 'positive')
    common.propKeyOnlyToClassName(TableCell, 'selectable')
    common.propKeyOnlyToClassName(TableCell, 'singleLine', {
      className: 'single line',
    })
    common.propKeyOnlyToClassName(TableCell, 'warning')
  
    it('renders as a td by default', () => {
      shallow(<TableCell />)
        .should.have.tagName('td')
    })
  
    describe('shorthand', () => {
      it('renders empty cell with no shorthand', () => {
        const wrapper = shallow(<TableCell />)
  
        wrapper.text().should.equal('')
      })
  
      it('renders the cell', () => {
        const content = 'Hey there'
        const wrapper = shallow(<TableCell content={content} />)
  
        wrapper.text().should.equal(content)
      })
    })
  })
  