 chai.use(sinonChai)
 chai.config.includeStack = true
 
-[Rte, Selection] = require '../lib/y-rte'
+[Rte, Selection, Word] = require '../lib/y-rte'
 
 
 describe 'Rich Text type should', ->

    sel.should.have.property('endPos')
    sel.should.have.deep.property('endPos.word', 1)
    sel.should.have.deep.property('endPos.pos', 2)

    console.log rte1.getWord(0)

describe 'Selection object should', ->
  sel = sel2 = rte = word = null

  it 'be initialized with three parameters', ->
    rte = new Rte "Zero One two three four five"
