Skip to content

Instantly share code, notes, and snippets.

@boxedup
Created February 8, 2010 23:20
Show Gist options
  • Save boxedup/298719 to your computer and use it in GitHub Desktop.
Save boxedup/298719 to your computer and use it in GitHub Desktop.
Feature: viewing lists
As a guest
I want to view lists
So that I can see the value of boxedup lists and want to sign up
Background:
Given a user: "Winnie" exists with name: "Winnie the Pooh", email: "[email protected]", password: "password", email_confirmed: true
And a list: "public list" exists with name: "Public List", user: user "Winnie", privacy: "public"
And a list: "friends list" exists with name: "Friends List", user: user "Winnie", privacy: "friends"
And a list: "private list" exists with name: "Private List", user: user "Winnie", privacy: "private"
Scenario: looking at a users lists
When I go to the user: "Winnie"'s lists page
Then I should be on the user: "Winnie"'s lists page
And I should see "Public List"
And I should not see "Friends List"
And I should not see "Private List"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment