Skip to content

Commit

Permalink
Add second behaviour test
Browse files Browse the repository at this point in the history
  • Loading branch information
meshy committed Oct 27, 2018
1 parent 68ed554 commit f0d704d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/order-list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ Feature: Ordering on the list page
| 2 |
| 3 |
| 1 |

Scenario: Move an item to the top of the list
Given the following items:
| pk |
| 1 |
| 2 |
| 3 |
And we are on the item list page
When item 3 is moved to position 1
Then the items should be ordered thus:
| pk |
| 3 |
| 1 |
| 2 |

0 comments on commit f0d704d

Please sign in to comment.