Created
August 11, 2012 18:36
-
-
Save beckyconning/3326254 to your computer and use it in GitHub Desktop.
This file contains 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
Feature: Create ballot box | |
In order to make a decision based on the opinion of a group whether or not | |
they can be in the same place at the same time without disclosing the | |
identities of the participants | |
As a member of a group who wants to start a secret ballot | |
I want to create a secret ballot that the group can access online | |
Scenario: Create ballot box with participants including myself | |
Given a blank ballot box | |
When I fill in my email address with "becky@example.com" | |
And I fill in "participants email addresses" with: | |
""" | |
i.c.e.cold@example.com | |
nice2beold@exmaple.com | |
she_sold_scolls@example.com | |
lo_and_behold@example.com | |
""" | |
And I want to participate in the secret ballot | |
And the motion of the ballot I want to create is: | |
""" | |
This house believes that bunnies are cute. | |
""" | |
And I click "Create secret ballot" | |
Then the ballot box should be created | |
And I should see a link to participate in the ballot | |
And a link to check up on the ballot | |
And every participant including me should be sent an email | |
And that email should contain the motion of the ballot | |
And a link to participate in the ballot | |
And a link to check up on the ballot | |
Scenario: Create ballot box with participants excluding myself | |
Given a blank ballot box | |
When I fill in my email address with "becky@example.com" | |
And I fill in "participants email addresses" with: | |
""" | |
i.c.e.cold@example.com | |
nice2beold@exmaple.com | |
she_sold_scolls@example.com | |
lo_and_behold@example.com | |
""" | |
And I do not want to participate in the secret ballot | |
And the motion of the ballot I want to create is: | |
""" | |
This house believes that bunnies are cute. | |
""" | |
And I click "Create secret ballot" | |
Then the ballot box should be created | |
And I should see a link to participate in the ballot | |
And a link to check still to participate in the ballot | |
And every participant including me should be sent an email | |
And that email should contain the motion of the ballot | |
And a link to participate in the ballot | |
And a link to check how many people have participated in the ballot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment