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

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

    it '@route object should be replaced when object is given', ->
      router.setRoute

        'index' :
          required: false
          renavigate: 'overwrited'
      expect(result).to.deep.equal(correct)

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

  describe 'route', ->
    Router = null
