Skip to content

Commit

Permalink
chore: add new feture tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vetom committed Feb 24, 2019
1 parent e005eb0 commit 6f6fff4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ describe('Game', () => {
this.game.should.not.be.empty();
});

it('should contain the language on each normal game created.', function () {
this.game.should.have.property('language').which.is.a.String();
});

it('should contain the weight on each normal game created.', function () {
this.game.should.have.property('weight').which.is.a.Number();
});
Expand Down Expand Up @@ -65,6 +69,10 @@ describe('Game', () => {
this.game.should.not.be.empty();
});

it('should contain the language on each chaos game created.', function () {
this.game.should.have.property('language').which.is.a.String();
});

it('should contain the weight on each chaos game created.', function () {
this.game.should.have.property('weight').which.is.a.Number();
});
Expand Down

0 comments on commit 6f6fff4

Please sign in to comment.