소스 검색

Add test for color

sbkwgh 8 년 전
부모
커밋
44736e35d6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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