Add API/Registrant/Domains route

This commit is contained in:
Maciej Szlosarczyk 2018-07-26 14:46:03 +03:00
parent 311aa503b3
commit 0ab9f6333f
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 53 additions and 1 deletions

View file

@ -42,10 +42,20 @@ metro:
period_unit: m
uuid: ef97cb80-333b-4893-b9df-163f2b452798
hospital:
name: hospital.test
registrar: goodnames
registrant: william
transfer_code: 23118v2
valid_to: 2010-07-05
period: 1
period_unit: m
uuid: 5edda1a5-3548-41ee-8b65-6d60daf85a37
invalid:
name: invalid.test
transfer_code: 1438d6
valid_to: <%= Time.zone.parse('2010-07-05').utc.to_s(:db) %>
registrar: bestnames
registrant: invalid
uuid: 3c430ead-bb17-4b5b-aaa1-caa7dde7e138
uuid: 3c430ead-bb17-4b5b-aaa1-caa7dde7e138

View file

@ -0,0 +1,17 @@
require 'test_helper'
class RegistrantApiDomainsTest < ApplicationSystemTestCase
def setup
super
@registrant = contacts(:william)
end
def teardown
super
end
def test_can_get_domain_details_by_uuid
end
end