Created
May 31, 2012 12:30
-
-
Save asilano/2843082 to your computer and use it in GitHub Desktop.
Test for the "normal" case of Masquerade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scenario: Playing Masquerade | |
| Given my hand contains Masquerade, Curse and 3 other cards | |
| And Bob's hand contains Estate and 4 other cards | |
| And Charlie's hand contains Copper and 4 other cards | |
| And my deck contains Gold x3 | |
| When I play Masquerade | |
| Then I should have drawn 2 cards | |
| And I should need to Pass a card to Bob | |
| And Bob should need to Pass a card to Charlie | |
| And Charlie should need to Pass a card to Alan | |
| When I choose Curse in my hand | |
| Then I should have removed Curse from my hand | |
| When the game checks actions | |
| Then nothing should have happened | |
| When Bob chooses Estate in his hand | |
| Then Bob should have removed Estate from his hand | |
| When the game checks actions | |
| Then Bob should have placed Curse in his hand | |
| When Charlie chooses Copper in his hand | |
| Then Charlie should have removed Copper from his hand | |
| When the game checks actions | |
| Then the following 2 steps should happen at once | |
| Then I should have placed Copper in my hand | |
| And Charlie should have placed Estate in his hand | |
| And I should need to Optionally trash a card with Masquerade | |
| When I choose Copper in my hand | |
| Then I should have removed Copper from my hand | |
| And it should be my Play Treasure phase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment