Skip to content

Instantly share code, notes, and snippets.

@fivetanley
Created October 11, 2012 05:54
Show Gist options
  • Select an option

  • Save fivetanley/3870459 to your computer and use it in GitHub Desktop.

Select an option

Save fivetanley/3870459 to your computer and use it in GitHub Desktop.
Degrees of Separation using cucumber to drive the development
Feature: Degrees of Separation Search Form
The first thing users see on the page is a search form with two boxes.
One of the boxes represents the OriginAccount, that is, the Twitter account
from which to start the search to the DestinationAccount, the Twitter account
we are trying to connect the OriginAccount to using only followers of the
OriginAccount (and their followers).
Scenario: Starting a Degrees of Separation Calculation
Given I am on the site's main page
When I search using a valid twitter name for the Origin Account and the
DestinationAccount
Then I should see how many Degrees of Separation I am from that person
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment