Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: yank-hooks
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.963 kb
Feature: Homepage
Scenario: Most downloaded gems for today
Given I am signed up as "email@person.com"
And I have an API key for "email@person.com/password"
And I have a gem "sandworm" with version "1.0.0"
And I have a gem "sandworm" with version "2.0.0"
And I have a gem "fireworm" with version "1.0.0"
And I push the gem "sandworm-1.0.0.gem" with my API key
And I push the gem "sandworm-2.0.0.gem" with my API key
And I push the gem "fireworm-1.0.0.gem" with my API key
When I am on the homepage
Then I should see "No downloads today"
Given I download the rubygem "sandworm" version "1.0.0" 5 times
And I download the rubygem "sandworm" version "2.0.0" 10 times
And I download the rubygem "fireworm" version "1.0.0" 20 times
When I am on the homepage
Then I should see the following most recent downloads:
| fireworm-1.0.0 (20) |
| sandworm-2.0.0 (10) |
| sandworm-1.0.0 (5) |
Jump to Line
Something went wrong with that request. Please try again.