mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Let tests use the new builder
This commit is contained in:
parent
a24d0ba4fc
commit
5b91acb343
1 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ describe 'EPP Domain', epp: true do
|
||||||
it 'returns domain info' do
|
it 'returns domain info' do
|
||||||
d = Domain.first
|
d = Domain.first
|
||||||
|
|
||||||
response = epp_request('domains/info.xml')
|
response = epp_request(domain_info_xml, :xml)
|
||||||
expect(response[:results][0][:result_code]).to eq('1000')
|
expect(response[:results][0][:result_code]).to eq('1000')
|
||||||
expect(response[:results][0][:msg]).to eq('Command completed successfully')
|
expect(response[:results][0][:msg]).to eq('Command completed successfully')
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ describe 'EPP Domain', epp: true do
|
||||||
|
|
||||||
d.touch
|
d.touch
|
||||||
|
|
||||||
response = epp_request('domains/info.xml')
|
response = epp_request(domain_info_xml, :xml)
|
||||||
inf_data = response[:parsed].css('resData infData')
|
inf_data = response[:parsed].css('resData infData')
|
||||||
|
|
||||||
expect(inf_data.css('upDate').text).to eq(d.updated_at.to_time.utc.to_s)
|
expect(inf_data.css('upDate').text).to eq(d.updated_at.to_time.utc.to_s)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue