Created
January 14, 2011 02:19
-
-
Save jeffdeville/779053 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: Requestor views the interests that are most popular among their friends and selects the ones they also like | |
So that my interests can be compared to the most popular interests of my friends | |
As a requestor | |
I want to indicate which of the most popular interests I also like | |
Scenario: View the most popular interests in the requestor's network | |
Given I am logged in | |
When I go to "popular interests" | |
Then I should see the most popular interests of my friends | |
Scenario: Add a new interest | |
Given I am logged in | |
And I go to "popular interests" | |
When I click "thumbs up" on "an interest" | |
Then it should be added to my interests | |
And it should be "selected" | |
And I should see the "thumbs down" button for "the interest" | |
###################### | |
# I don't think we'll need this initially. It's going to be a bit of a can of worms | |
# , due to the way I import interests from Facebook. (If you tried to delete an interest | |
# that is in your FB interests, your deletion would be ignored the next time we did | |
# an import, which currently happens every night. As a result, any time you reference a | |
# 'thumbs down', I think you can ignore it. | |
###################### | |
Scenario: Remove an interest | |
Given I am logged in | |
And I go to "popular interests" | |
And I click "thumbs up" on "an interest" | |
When I click the "thumbs down" button for "the interest" | |
Then it should not be "selected" | |
And I should see the "thumbs up" button for "the interest" | |
And it should not be in my interests | |
Scenario: Requestor has an existing interest in common with the most popular interests | |
Given I am logged in | |
And I have "an interest" that is common to the most popular interests of my friends | |
When I go to "popular interests" | |
Then "my interest" should be "selected" | |
And I should see the "thumbs down" button for "my interest" | |
Scenario: Requestor has no existing interests in common with the most popular interests | |
Given I am logged in | |
And I do not have any existing interests that are common to the most popular interests of my friends | |
And I go to "popular interests" | |
Then no interests should be "selected" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment