mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Refactor + add example requests file
This commit is contained in:
parent
034adb616c
commit
3875e5f18a
5 changed files with 106 additions and 28 deletions
|
@ -28,7 +28,7 @@ describe 'EPP Session', epp: true do
|
|||
end
|
||||
|
||||
it 'prohibits further actions unless logged in' do
|
||||
response = epp_plain_request('domains/create.xml')
|
||||
response = epp_plain_request(domain_create_xml, :xml)
|
||||
expect(response[:result_code]).to eq('2002')
|
||||
expect(response[:msg]).to eq('You need to login first.')
|
||||
expect(response[:clTRID]).to eq('ABC-12345')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue