Skip to content

Instantly share code, notes, and snippets.

@zaid
Created January 15, 2012 00:59
Show Gist options
  • Save zaid/1613668 to your computer and use it in GitHub Desktop.
Save zaid/1613668 to your computer and use it in GitHub Desktop.
Create event feature
Feature: create an event
In order to organize my social gatherings
As an organizer
I want to create events
Background: Logged-in
Given that I am logged-in
And I click "create event"
Scenario: create an event with one attendee
When I enter "birthday party" in the event "title"
And I click the submit button
Then the event should be created
And the event title should be equal to "birthday party"
Scenario: create an event with two attendees
When I enter "birthday party" in the event "title"
And I enter "[email protected];[email protected]" in the event "attendees"
And I click the submit button
Then the event should be created
And the event title should equal to "birthday party"
And the event attendees should be equal to "[email protected];[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment