Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe('Heart of the Forest', function() {
- integration(function() {
- describe('Heart of the Forest\'s ability', function() {
- beforeEach(function() {
- this.setupTest({
- player1: {
- amber: 6,
- house: 'dis',
- inPlay: ['heart-of-the-forest']
- },
- player2: {
- amber: 6,
- keys: 1,
- hand: ['remote-access']
- }
- });
- });
- it('should stop a key being forged', function() {
- this.player1.endTurn();
- expect(this.player2.player.keys).toBe(1);
- expect(this.player2.player.amber).toBe(6);
- });
- });
- describe('Heart of the Forest\'s ability', function() {
- beforeEach(function() {
- this.setupTest({
- player1: {
- amber: 6,
- house: 'dis',
- inPlay: ['heart-of-the-forest']
- },
- player2: {
- amber: 6,
- hand: ['remote-access']
- }
- });
- });
- it('should NOT stop a key being forged if the keys are equal', function() {
- this.player1.endTurn();
- expect(this.player2.player.keys).toBe(1);
- expect(this.player2.player.amber).toBe(0);
- });
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement