Removed second EPP session example #2721

This commit is contained in:
Priit Tark 2015-06-29 12:46:02 +03:00
parent cd97e11f47
commit 04de96d317

View file

@ -133,21 +133,6 @@ describe 'EPP Session', epp: true do
@api_user.reload @api_user.reload
@api_user.password.should == 'ghyt9e4fu' @api_user.password.should == 'ghyt9e4fu'
end end
it 'fails if new password is not valid' do
@api_user.update(password: 'ghyt9e4fu')
response = epp_plain_request(@epp_xml.session.login(
clID: { value: 'gitlab' },
pw: { value: 'ghyt9e4fu' },
newPW: { value: '' }
), validate_input: false)
response[:msg].should == 'Password is missing [password]'
response[:result_code].should == '2306'
@api_user.reload
@api_user.password.should == 'ghyt9e4fu'
end
end end
end end
end end