Remove auth info changing ability

This commit is contained in:
Martin Lensment 2014-09-04 12:01:23 +03:00
parent 1bf886a6bf
commit 1ebf7b5e21
3 changed files with 5 additions and 12 deletions

View file

@ -488,6 +488,7 @@ describe 'EPP Domain', epp: true do
it 'updates a domain' do
Fabricate(:contact, code: 'mak21')
existing_pw = Domain.first.auth_info
xml_params = {
chg: [
@ -504,7 +505,7 @@ describe 'EPP Domain', epp: true do
d = Domain.last
expect(d.owner_contact_code).to eq('mak21')
expect(d.auth_info).to eq('2BARfoo')
expect(d.auth_info).to eq(existing_pw)
end
it 'does not assign invalid status to domain' do