From 17386c00109b93e9179f7a3ca70cef3fdca8131e Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Mon, 2 Feb 2015 19:10:40 +0200 Subject: [PATCH] Fix domain statues taken error --- config/locales/en.yml | 3 ++- spec/epp/domain_spec.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index d1c3e76e7..6ad2d4253 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -148,9 +148,10 @@ en: domain_status: attributes: - setting_id: + value: taken: 'Status already exists on this domain' + user: attributes: username: diff --git a/spec/epp/domain_spec.rb b/spec/epp/domain_spec.rb index bb8780373..511257d7e 100644 --- a/spec/epp/domain_spec.rb +++ b/spec/epp/domain_spec.rb @@ -1338,8 +1338,8 @@ describe 'EPP Domain', epp: true do xml = domain_info_xml(name: { value: domain.name }) response = epp_plain_request(xml, :xml) - response[:results][0][:result_code].should == '1000' response[:results][0][:msg].should == 'Command completed successfully' + response[:results][0][:result_code].should == '1000' inf_data = response[:parsed].css('resData infData') inf_data.css('name').text.should == domain.name