Fix epp session test, now api_user honors active boolean correctly

This commit is contained in:
Priit Tark 2015-02-27 13:42:59 +02:00
parent 061015e88a
commit 527bc2a0dc
4 changed files with 11 additions and 5 deletions

View file

@ -35,6 +35,7 @@ describe 'EPP Session', epp: true do
inactive = @epp_xml.session.login(clID: { value: 'inactive-user' }, pw: { value: 'ghyt9e4fu' })
response = epp_plain_request(inactive, :xml)
response[:msg].should == 'Authentication error; server closing connection'
response[:result_code].should == '2501'
end