Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (25 sloc) 1.174 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Feature: Viewing updates
In order to keep tabs on other users
As a user
I want to view features

Scenario: A user acting as a chicken views another users updates
Given a user exists with email: "chicken@test.com"
And a user exists with email: "pig@test.com"
And an update has been written by: "pig@test.com" with the following:
|yesterday| I did nothing|
|today|I will do nothing|
|blocking|Nothing is keeping me from doing anything|
When I am on the list updates for the user: "pig@test.com" page
Then I should see "I did nothing"
And I should see "I will do nothing"
And I should see "Nothing is keeping me from doing anything"

Scenario: A user searches for another user and views the users' updates
Given a user exists with email: "chicken2@test.com"
And a user exists with email: "pig2@test.com"
And a user exists with email: "pig3@test.com"
And 10 updates have been written by: "pig2@test.com"
When I am on the search updates page
And I fill in "user" with "pig3@test.com"
And I press "search"
Then I should not see "pig2@test.com"
And I should see "pig3@test.com"
Something went wrong with that request. Please try again.