Refactor RegistrantUser class

* Extract frequently used country_code and ident methods
* Refactor domain query
* Add contact query method
* Add adminstrated_domains query method. Name will most likely change
  in the future developments
* Change registry locks integration test name
This commit is contained in:
Maciej Szlosarczyk 2018-08-23 16:00:44 +03:00
parent 9f7fc47f19
commit 9623e2fb97
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
6 changed files with 95 additions and 55 deletions

View file

@ -1,7 +1,7 @@
require 'test_helper'
require 'auth_token/auth_token_creator'
class RegistrantApiDomainRegistryLockTest < ApplicationIntegrationTest
class RegistrantApiRegistryLocksTest < ApplicationIntegrationTest
def setup
super