Explorar o código

Add test for color

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
44736e35d6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/category.js

+ 1 - 0
test/category.js

@@ -54,6 +54,7 @@ describe('Category', () => {
 			res.should.be.json
 			res.should.have.status(200)
 			res.body.should.have.property('name', 'category')
+			res.body.should.have.property('color')
 		})
 		it('should have an "underscored" value field', async () => {
 			let res = await agent