           gameObj = models.Game
           should(gameObj.getDataValue('result')).be.eql(constants.GAME_RESULT.MAFIA_WIN)
         )
-#        it('should contain 10 players', ()->
-#        )
+
+        it('should contain 10 players', ()->
+          playerGames = models.PlayerGames
+          playerGames.should.have.property('length', 10)
+        )
 #        it('should have sheriff as Катафалк', ()->
 #        )
       )

      it('should save user if only name is provided', (done)->
        db.Player.create({name: 'Borland'}).success(
          (savedPlayer)->
            should(savedPlayer.name).be.eql('Borland')
            db.Player.find({where: {name: 'Borland'}}).success(
              (foundPlayer)->
                should(foundPlayer.name).be.eql(savedPlayer.name)
                should(foundPlayer.vk_id).be.eql(savedPlayer.vk_id)
                should(foundPlayer.service_role).be.eql(savedPlayer.service_role)
                done()
            )
        )

describe('models/db object', ()->
  db = require('./../src/server/models/db')
  it('should contain sequelize object', ()->
    db.should.have.property('sequelize')
  )
  it('should contain Player model', ()->
    db.should.have.property('Player')
  )
  it('should contain Game model', ()->
    db.should.have.property('Game')
  )
  it('should contain PlayerGame model', ()->
    db.should.have.property('PlayerGame')
  )
)

