mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Add comment
This commit is contained in:
parent
9c08edeb36
commit
e99c5d7ef5
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
if Domain.find_by(name: x)
|
||||
res << {name: x, avail: 0, reason: 'in use'}
|
||||
res << {name: x, avail: 0, reason: 'in use'} #confirm reason with current API
|
||||
else
|
||||
res << {name: x, avail: 1}
|
||||
end
|
||||
|
|
|
@ -34,7 +34,7 @@ describe 'EPP Domain', epp: true do
|
|||
|
||||
expect(name.text).to eq('test.ee')
|
||||
expect(name[:avail]).to eq('0')
|
||||
expect(reason.text).to eq('in use')
|
||||
expect(reason.text).to eq('in use') #confirm this with current API
|
||||
end
|
||||
|
||||
it 'checks multiple domains' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue