       correct =
         'hello/world' : 'index'
         'hello/heaven' : 'special'
-      expect(result).to.deep.equals(correct)
+      expect(result).to.deep.equal(correct)
 
     it '@route should be object when object is given', ->
       router.addRoute

      router.setRoot '/'
      result = router.root
      correct = '/'
      expect(result).to.deep.equals(correct)

    it '@root should be "/test/" when "test" is given', ->
      router.setRoot 'test'
      result = router.root
      correct = '/test/'
      expect(result).to.deep.equals(correct)

    it '@root should be "/test/" when "/test" is given', ->
      router.setRoot '/test'
      result = router.root
      correct = '/test/'
      expect(result).to.deep.equals(correct)

    it '@root should be "/test/" when "test/" is given', ->
      router.setRoot 'test/'
      result = router.root
      correct = '/test/'
      expect(result).to.deep.equals(correct)

    it '@root should be "/test/" when "/test/" is given', ->
      router.setRoot '/test/'
      result = router.root
      correct = '/test/'
      expect(result).to.deep.equals(correct)

  describe 'setRoute', ->
    Router = null

      result = router.routes
      correct =
        'hello/world' : 'overwrited'
      expect(result).to.deep.equal(correct)

    it '@route should not be changed when no arguments are given', ->
      router.addRoute()
      result = router.routes
      correct = {}
      expect(result).to.deep.equal(correct)

  describe 'setAuth', ->
    Router = null
