guillermo - code review changes [skip ci]

This commit is contained in:
AntonyAntonio 2016-07-21 15:27:57 -03:00
parent 4414140343
commit 7c1ee7d6fc
2 changed files with 3 additions and 2 deletions

View File

@ -8,5 +8,4 @@ class ERRORS {
const INVALID_PASSWORD = 'Invalid password';
const INVALID_TITLE = 'Invalid title';
const INVALID_CONTENT = 'Invalid content';
}

View File

@ -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