updated tests

This commit is contained in:
olegphenomenon 2021-12-29 16:07:35 +02:00
parent 4519ba4894
commit 66c5b3b6ae
14 changed files with 19 additions and 20 deletions

View file

@ -8,6 +8,7 @@ class ReppV1DomainsCreateTest < ActionDispatch::IntegrationTest
token = "Basic #{token}"
@auth_headers = { 'Authorization' => token }
Spy.on_instance_method(Domains::NameserverValidator, :run).and_return({result: true, reason: ''})
end
def test_creates_new_domain_successfully