Add affected domain parameter to REST API response

This commit is contained in:
Maciej Szlosarczyk 2018-07-05 17:24:32 +03:00
parent b5f07682f4
commit 3e81366cfc
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
6 changed files with 12 additions and 7 deletions

View file

@ -5,7 +5,7 @@ class ReplaceNameserversTest < ActiveSupport::TestCase
@registrar = registrars(:bestnames)
end
def test_replace_nameservers_in_bulk_returns_domain_names
def test_replace_nameservers_in_bulk_returns_sorted_domain_names
new_attributes = { hostname: 'ns-updated1.bestnames.test', ipv4: '192.0.3.1',
ipv6: '2001:db8::2' }
result = @registrar.replace_nameservers('ns1.bestnames.test', new_attributes)