Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scenario: Trending items are the ones with most likes, repicks and vaults
- Given that following picks exist:
- | pick_id | likes | vaults | repicks |
- | 1 | 1 | 0 | 5 |
- | 2 | 4 | 4 | 0 |
- | 3 | 3 | 3 | 3 |
- | 4 | 0 | 0 | 7 |
- | 5 | 4 | 0 | 1 |
- When I send the WeekenderEmail
- Then it should include following picks
- | pick_id |
- | 3 |
- | 2 |
- | 4 |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement