@@ -16,7 +16,7 @@ describe('User', function() {
16
16
} ) ;
17
17
18
18
it ( 'should get user repos' , function ( done ) {
19
- user . getRepos ( assertArray ( done ) ) ;
19
+ user . listRepos ( assertArray ( done ) ) ;
20
20
} ) ;
21
21
22
22
it ( 'should get user repos with options' , function ( done ) {
@@ -27,19 +27,19 @@ describe('User', function() {
27
27
page : 10
28
28
} ;
29
29
30
- user . getRepos ( filterOpts , assertArray ( done ) ) ;
30
+ user . listRepos ( filterOpts , assertArray ( done ) ) ;
31
31
} ) ;
32
32
33
33
it ( 'should get user orgs' , function ( done ) {
34
- user . getOrgs ( assertArray ( done ) ) ;
34
+ user . listOrgs ( assertArray ( done ) ) ;
35
35
} ) ;
36
36
37
37
it ( 'should get user gists' , function ( done ) {
38
- user . getGists ( assertArray ( done ) ) ;
38
+ user . listGists ( assertArray ( done ) ) ;
39
39
} ) ;
40
40
41
41
it ( 'should get user notifications' , function ( done ) {
42
- user . getNotifications ( assertArray ( done ) ) ;
42
+ user . listNotifications ( assertArray ( done ) ) ;
43
43
} ) ;
44
44
45
45
it ( 'should get user notifications with options' , function ( done ) {
@@ -50,15 +50,15 @@ describe('User', function() {
50
50
before : '2015-02-01T00:00:00Z'
51
51
} ;
52
52
53
- user . getNotifications ( filterOpts , assertArray ( done ) ) ;
53
+ user . listNotifications ( filterOpts , assertArray ( done ) ) ;
54
54
} ) ;
55
55
56
56
it ( 'should get the user\'s profile' , function ( done ) {
57
57
user . getProfile ( assertSuccessful ( done ) ) ;
58
58
} ) ;
59
59
60
60
it ( 'should show user\'s starred repos' , function ( done ) {
61
- user . getStarredRepos ( assertArray ( done ) ) ;
61
+ user . listStarredRepos ( assertArray ( done ) ) ;
62
62
} ) ;
63
63
64
64
it ( 'should follow user' , function ( done ) {
0 commit comments