forked from case451/hw3_rottenpotatoes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sort_movie_list.feature
29 lines (22 loc) · 1.04 KB
/
sort_movie_list.feature
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
28
Feature: display list of movies sorted by different criteria
As an avid moviegoer
So that I can quickly browse movies based on my preferences
I want to see movies sorted by title or release date
Background: movies have been added to database
Given the following movies exist:
| title | rating | release_date |
| Aladdin | G | 25-Nov-1992 |
| The Terminator | R | 26-Oct-1984 |
| When Harry Met Sally | R | 21-Jul-1989 |
| The Help | PG-13 | 10-Aug-2011 |
| Chocolat | PG-13 | 5-Jan-2001 |
| Amelie | R | 25-Apr-2001 |
| 2001: A Space Odyssey | G | 6-Apr-1968 |
| The Incredibles | PG | 5-Nov-2004 |
| Raiders of the Lost Ark | PG | 12-Jun-1981 |
| Chicken Run | G | 21-Jun-2000 |
And I am on the RottenPotatoes home page
Scenario: sort movies alphabetically
# your steps here
Scenario: sort movies in increasing order of release date
# your steps here