Skip to content

Instantly share code, notes, and snippets.

@beckyconning
Created August 22, 2012 14:02
Show Gist options
  • Save beckyconning/3425915 to your computer and use it in GitHub Desktop.
Save beckyconning/3425915 to your computer and use it in GitHub Desktop.
Feature: Create a ballot box for a new motion
In order to make a decision as a group
As a member of a group who wants to make a decision
I want to create a secret ballot for a motion that the group can access
Scenario Outline: Create a ballot box
Given a new motion
When I fill in my email address
And I fill in participants email addresses
And I <do_or_dont> 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
Scenarios:
| do_or_dont |
| do |
| don't |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment