Skip to content

Commit e5f0e79

Browse files
committed
updated it descriptions for tests
1 parent d8234d9 commit e5f0e79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/wallet.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Wallet', function () {
3737
})
3838

3939
describe('Check /wallet', function () {
40-
it('Should return userId and wallet information', function (done) {
40+
it('Should return wallet information', function (done) {
4141
chai
4242
.request(app)
4343
.get('/wallet')
@@ -59,7 +59,7 @@ describe('Wallet', function () {
5959
})
6060
})
6161

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) {
6363
chai
6464
.request(app)
6565
.get('/wallet')
@@ -79,7 +79,7 @@ describe('Wallet', function () {
7979
})
8080
})
8181

82-
describe('GET /wallet/:username of different user by an unauthorized user & authorized user', function () {
82+
describe('GET /wallet/:username', function () {
8383
let newUserId
8484
let newUserAuthToken
8585

@@ -112,7 +112,7 @@ describe('Wallet', function () {
112112
})
113113
})
114114

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) {
116116
chai
117117
.request(app)
118118
.get(`/wallet/${userName}`)

0 commit comments

Comments
 (0)