Move affected domains to the top of the hash, update integration test

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

View file

@ -37,8 +37,8 @@ module Repp
status 200
@response = { data: { type: 'nameserver',
id: params[:data][:attributes][:hostname],
attributes: params[:data][:attributes],
affected_domains: affected_domains } }
attributes: params[:data][:attributes]},
affected_domains: affected_domains }
end
end
end