File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ describe('Wallet', function () {
37
37
} )
38
38
39
39
describe ( 'Check /wallet' , function ( ) {
40
- it ( 'Should return userId and wallet information' , function ( done ) {
40
+ it ( 'Should return wallet information' , function ( done ) {
41
41
chai
42
42
. request ( app )
43
43
. get ( '/wallet' )
@@ -59,7 +59,7 @@ describe('Wallet', function () {
59
59
} )
60
60
} )
61
61
62
- it ( 'Should return the user their own wallet with 1000 dineros' , function ( done ) {
62
+ it ( 'Should return the user their own wallet with 1000 dineros loaded ' , function ( done ) {
63
63
chai
64
64
. request ( app )
65
65
. get ( '/wallet' )
@@ -79,7 +79,7 @@ describe('Wallet', function () {
79
79
} )
80
80
} )
81
81
82
- describe ( 'GET /wallet/:username of different user by an unauthorized user & authorized user ' , function ( ) {
82
+ describe ( 'GET /wallet/:username' , function ( ) {
83
83
let newUserId
84
84
let newUserAuthToken
85
85
@@ -112,7 +112,7 @@ describe('Wallet', function () {
112
112
} )
113
113
} )
114
114
115
- it ( 'Should return unauthorized when trying to access someone else\'s wallet when not authorized' , function ( done ) {
115
+ it ( 'Should return unauthorized error when trying to access someone else\'s wallet when not authorized' , function ( done ) {
116
116
chai
117
117
. request ( app )
118
118
. get ( `/wallet/${ userName } ` )
You can’t perform that action at this time.
0 commit comments