Skip to content
This repository
Newer
Older
100644 47 lines (44 sloc) 1.736 kb
53a798de » John Pignata
2009-11-27 Output platform in Version on dashboard
1 Feature: Dashboard
d7d419ba » nhocki
2011-02-26 Removing double-single-quote
2 In order to see the status of gems to which I've subscribed
53a798de » John Pignata
2009-11-27 Output platform in Version on dashboard
3 A user
4 Should be able to see a list of updates in their feed
5
a2ea0758 » nickrivadeneira
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
6 Background:
fcf5c150 » cmeiklejohn
2011-09-12 Update clearance syntax.
7 Given I am signed up as "email@person.com"
a2ea0758 » nickrivadeneira
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
8
9 Scenario: User goes to their dashboard
10 Given the following rubygems exist:
11 | name |
12 | ffi |
13 | sandworm |
14 | fireworm |
15 And the following versions exist:
16 | rubygem | number | platform |
17 | name: sandworm | 2.0.0 | ruby |
18 | name: ffi | 1.0.0 | java |
19 | name: ffi | 1.0.0 | x86-mswin32 |
20 | name: fireworm | 1.0.0 | ruby |
21 And the following subscriptions exist:
22 | user | rubygem |
23 | email: email@person.com | name: ffi |
24 | email: email@person.com | name: sandworm |
25 And the following ownerships exist:
26 | user | rubygem |
27 | email: email@person.com | name: fireworm |
75e72c4d » nhocki
2011-02-26 Testing number_with_delimiter in the dashboard and the rubygems partial
28 And I download the rubygem "fireworm" version "1.0.0" 1001 times
29 And I download the rubygem "sandworm" version "2.0.0" 1008 times
fcf5c150 » cmeiklejohn
2011-09-12 Update clearance syntax.
30 When I sign in as "email@person.com"
53a798de » John Pignata
2009-11-27 Output platform in Version on dashboard
31 And I go to the dashboard
32 And I should see "ffi"
33 And I should see "java"
75e72c4d » nhocki
2011-02-26 Testing number_with_delimiter in the dashboard and the rubygems partial
34 And I should see "x86-mswin32"
35 And I should see "1,001 downloads"
36 And I should see "1,008 downloads"
a2ea0758 » nickrivadeneira
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
37
38 Scenario: Yanked gem is hidden from listing
39 Given the following versions exist:
40 | rubygem | number | indexed |
41 | name: RGem | 1.2.2 | true |
42 | name: RGem | 1.2.3 | false |
43 When I go to the dashboard
44 And I follow "RGem"
45 Then I should not see "yanked"
46 And I should see "1.2.2"
8c032c97 » cmeiklejohn
2011-09-23 show an all versions link if there's yanked versions. closes #354
47 And I should see "Show all versions (2 total)"
Something went wrong with that request. Please try again.