Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. describe('Heart of the Forest', function() {
  2. integration(function() {
  3. describe('Heart of the Forest\'s ability', function() {
  4. beforeEach(function() {
  5. this.setupTest({
  6. player1: {
  7. amber: 6,
  8. house: 'dis',
  9. inPlay: ['heart-of-the-forest']
  10. },
  11. player2: {
  12. amber: 6,
  13. keys: 1,
  14. hand: ['remote-access']
  15. }
  16. });
  17. });
  18.  
  19. it('should stop a key being forged', function() {
  20. this.player1.endTurn();
  21. expect(this.player2.player.keys).toBe(1);
  22. expect(this.player2.player.amber).toBe(6);
  23. });
  24. });
  25.  
  26. describe('Heart of the Forest\'s ability', function() {
  27. beforeEach(function() {
  28. this.setupTest({
  29. player1: {
  30. amber: 6,
  31. house: 'dis',
  32. inPlay: ['heart-of-the-forest']
  33. },
  34. player2: {
  35. amber: 6,
  36. hand: ['remote-access']
  37. }
  38. });
  39. });
  40.  
  41. it('should NOT stop a key being forged if the keys are equal', function() {
  42. this.player1.endTurn();
  43. expect(this.player2.player.keys).toBe(1);
  44. expect(this.player2.player.amber).toBe(0);
  45. });
  46. });
  47. });
  48. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement