Skip to content
This repository
Newer
Older
100644 36 lines (32 sloc) 1.254 kb
eb8ccbc9 »
2010-10-09 list of gems belonging to an owner
1 Feature: List gems API
2 In order to see all the gems I work on
3 A gem owner
4 Should be able to list their gems
5
3ff79da0 »
2012-01-26 Added GET owners/:handle/gems to the API
6 Scenario: Anonymous user lists gems for owner
7 Given the following user exists:
8 | email | handle |
9 | user@example.com | myhandle |
10 And the following version exists:
11 | rubygem | number |
12 | name: AGem | 1.0.0 |
13 And the following ownership exists:
14 | rubygem | user |
15 | name: AGem | email: user@example.com |
16 | name: BGem | |
17 When I list the gems for owner "myhandle"
18 Then I should see "AGem"
19 And I should not see "BGem"
20
21 Scenario: Anonymous user lists gems for unknown user
22 When I list the gems for owner "nobody"
23 Then I should see "Owner could not be found."
24
a2ea0758 »
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
25 Scenario: Gem owner user lists their gems
fcf5c150 »
2011-09-12 Update clearance syntax.
26 Given I am signed up as "original@owner.org"
b78d5032 »
2011-07-24 Fix cukes
27 And I have an API key for "original@owner.org/password"
a2ea0758 »
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
28 And the following version exists:
29 | rubygem | number |
30 | name: MyGem | 1.0.0 |
31 And the following ownership exists:
32 | rubygem | user |
33 | name: MyGem | email: original@owner.org |
b78d5032 »
2011-07-24 Fix cukes
34 When I list the gems with my API key
a2ea0758 »
2011-07-23 Use factory girl step definitions, revamp/rework a lot of features
35 Then I should see "MyGem"
Something went wrong with that request. Please try again.