Add domain name to domain transfer message

#694
This commit is contained in:
Artur Beljajev 2018-02-19 03:51:32 +02:00
parent 6a7effac50
commit 4d7a222547
7 changed files with 21 additions and 25 deletions

View file

@ -47,7 +47,9 @@ class APIDomainTransfersTest < ActionDispatch::IntegrationTest
post '/repp/v1/domain_transfers', request_params, { 'HTTP_AUTHORIZATION' => http_auth_key }
end
message = 'Domain transfer was approved, associated contacts were: ["jane-001", "william-001"] and registrant was john-001'
message = 'Domain transfer of shop.test has been approved.' \
' Old contacts: jane-001, william-001' \
'; old registrant: john-001'
assert_equal message, @old_registrar.messages.last.body
end