Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 86 lines (72 sloc) 3.467 kB
57c5513 @qrush Tracking version downloads
qrush authored
1 Feature: Download Gems
2 In order to get some awesome gems
3 A developer
4 Should be able to download some gems
5
6 Scenario: Download a gem
fcf5c15 @cmeiklejohn Update clearance syntax.
cmeiklejohn authored
7 Given I am signed up as "email@person.com"
57c5513 @qrush Tracking version downloads
qrush authored
8 And I have a gem "sandworm" with version "1.0.0"
9 And I have a gem "sandworm" with version "2.0.0"
b78d503 @sferik Fix cukes
sferik authored
10 And I have an API key for "email@person.com/password"
11 And I push the gem "sandworm-1.0.0.gem" with my API key
12 And I push the gem "sandworm-2.0.0.gem" with my API key
57c5513 @qrush Tracking version downloads
qrush authored
13 And the system processes jobs
14
15 When I visit the gem page for "sandworm"
16 Then I should see "0 total downloads"
17
18 When I download the rubygem "sandworm" version "2.0.0" 3 times
19 And the system processes jobs
20 And I visit the gem page for "sandworm"
21 Then I should see "3 total downloads"
6bc2482 @qrush Fix the downloads story, thanks CI
qrush authored
22 And I should see "3 for this version"
57c5513 @qrush Tracking version downloads
qrush authored
23
24 When I download the rubygem "sandworm" version "1.0.0" 2 times
25 And the system processes jobs
26 And I visit the gem page for "sandworm"
27 Then I should see "5 total downloads"
6bc2482 @qrush Fix the downloads story, thanks CI
qrush authored
28 And I should see "3 for this version"
57c5513 @qrush Tracking version downloads
qrush authored
29 When I follow "1.0.0"
30 Then I should see "5 total downloads"
6bc2482 @qrush Fix the downloads story, thanks CI
qrush authored
31 And I should see "2 for this version"
b78d503 @sferik Fix cukes
sferik authored
32
75e72c4 @nhocki Testing number_with_delimiter in the dashboard and the rubygems partial
nhocki authored
33 When I download the rubygem "sandworm" version "2.0.0" 1000 times
34 And the system processes jobs
35 And I visit the gem page for "sandworm"
36 Then I should see "1,005 total downloads"
37 And I should see "1,003 for this version"
fbea0b8 @qrush Tracking downloads properly for platform gems, required refactoring f…
qrush authored
38
39 Scenario: Download a platform gem
fcf5c15 @cmeiklejohn Update clearance syntax.
cmeiklejohn authored
40 Given I am signed up as "email@person.com"
fbea0b8 @qrush Tracking downloads properly for platform gems, required refactoring f…
qrush authored
41 And I have a gem "crysknife" with version "1.0.0"
42 And I have a gem "crysknife" with version "1.0.0" and platform "java"
b78d503 @sferik Fix cukes
sferik authored
43 And I have an API key for "email@person.com/password"
44 And I push the gem "crysknife-1.0.0.gem" with my API key
45 And I push the gem "crysknife-1.0.0-java.gem" with my API key
fbea0b8 @qrush Tracking downloads properly for platform gems, required refactoring f…
qrush authored
46 And the system processes jobs
47
48 When I visit the gem page for "crysknife" version "1.0.0"
49 Then I should see "0 total downloads"
50
51 When I download the rubygem "crysknife" version "1.0.0" 3 times
52 And the system processes jobs
53 And I visit the gem page for "crysknife" version "1.0.0"
54 Then I should see "3 total downloads"
6bc2482 @qrush Fix the downloads story, thanks CI
qrush authored
55 And I should see "3 for this version"
fbea0b8 @qrush Tracking downloads properly for platform gems, required refactoring f…
qrush authored
56
57 When I download the rubygem "crysknife" version "1.0.0-java" 2 times
58 And the system processes jobs
59 And I visit the gem page for "crysknife" version "1.0.0-java"
60 Then I should see "5 total downloads"
6bc2482 @qrush Fix the downloads story, thanks CI
qrush authored
61 And I should see "2 for this version"
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
62
63 Scenario: Download a .gem file for a platform gem
fcf5c15 @cmeiklejohn Update clearance syntax.
cmeiklejohn authored
64 Given I am signed up as "email@person.com"
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
65 And I have a gem "andhapp" with version "1.1.1"
66 And I have a gem "andhapp" with version "1.1.0"
b78d503 @sferik Fix cukes
sferik authored
67 And I have an API key for "email@person.com/password"
68 And I push the gem "andhapp-1.1.1.gem" with my API key
69 And I push the gem "andhapp-1.1.0.gem" with my API key
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
70 And the system processes jobs
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
71
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
72 When I visit the gem page for "andhapp" version "1.1.1"
73 Then I should see "0 total downloads"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
74
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
75 When I visit the gem page for "andhapp" version "1.1.1"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
76 And I download the rubygem "andhapp" version "1.1.1" 1 time
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
77 And I visit the gem page for "andhapp"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
78 Then I should see "1 total downloads"
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
79 And I should see "1 for this version"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
80
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
81 When I visit the gem page for "andhapp" version "1.1.0"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
82 And I download the rubygem "andhapp" version "1.1.0" 1 time
ab0e285 @andhapp Added a feature, and link to download .gem from gem's version page
andhapp authored
83 And I visit the gem page for "andhapp"
84 Then I should see "2 total downloads"
6e10178 @qrush Moving Download button to /downloads so robots stop increasing the do…
qrush authored
85 And I should see "1 for this version"
Something went wrong with that request. Please try again.