Start refactoring rights to cancan

This commit is contained in:
Martin Lensment 2015-03-10 10:57:10 +02:00
parent fe7ca94863
commit d1ec91323b
5 changed files with 50 additions and 539 deletions

View file

@ -1490,8 +1490,8 @@ describe 'EPP Domain', epp: true do
it 'can not see other registrar domains' do
login_as :registrar2 do
response = epp_plain_request(domain_info_xml(name: { value: domain.name }), :xml)
response[:result_code].should == '2302'
response[:msg].should == 'Domain exists but belongs to other registrar'
response[:result_code].should == '2201'
response[:msg].should == 'Authorization error'
end
end