guillermo - code review changes [skip ci]
This commit is contained in:
parent
4414140343
commit
7c1ee7d6fc
|
@ -8,5 +8,4 @@ class ERRORS {
|
|||
const INVALID_PASSWORD = 'Invalid password';
|
||||
const INVALID_TITLE = 'Invalid title';
|
||||
const INVALID_CONTENT = 'Invalid content';
|
||||
|
||||
}
|
||||
|
|
|
@ -61,7 +61,6 @@ describe '/user/signup' do
|
|||
|
||||
(result['status']).should.equal('fail')
|
||||
(result['message']).should.equal('Invalid email')
|
||||
|
||||
end
|
||||
|
||||
it 'should fail if password is invalid' do
|
||||
|
@ -82,6 +81,9 @@ describe '/user/signup' do
|
|||
email: 'tyrion@outlook.com',
|
||||
password: long_text
|
||||
})
|
||||
|
||||
(result['status']).should.equal('fail')
|
||||
(result['message']).should.equal('Invalid password')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue