Skip to content

Commit

Permalink
Improved scenario skeletons for hw3
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Feb 3, 2012
1 parent 22244ae commit 608f923
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
13 changes: 12 additions & 1 deletion features/filter_movie_list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ Background: movies have been added to database
| Raiders of the Lost Ark | PG | 12-Jun-1981 |
| Chicken Run | G | 21-Jun-2000 |

And I am on the RottenPotatoes home page

Scenario: restrict to movies with 'PG' or 'R' ratings
# enter step(s) to check the 'PG' and 'R' checkboxes
# enter step(s) to uncheck all other checkboxes
# enter step to "submit" the search form on the homepage
# enter step(s) to ensure that PG and R movies are visible
# enter step(s) to ensure that other movies are not visible

Scenario: no checkboxes selected
# see assignment


Scenario: all checkboxes selected
# see assignment
6 changes: 2 additions & 4 deletions features/sort_movie_list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ Background: movies have been added to database
| Raiders of the Lost Ark | PG | 12-Jun-1981 |
| Chicken Run | G | 21-Jun-2000 |

Feature: sort movies alphabetically
And I am on the RottenPotatoes home page

Given I am on the RottenPotatoes home page
Feature: sort movies alphabetically
# your steps here

Feature: sort movies in increasing order of release_date

Given I am on the RottenPotatoes home page
# your steps here

0 comments on commit 608f923

Please sign in to comment.