Tests: fixed exptected values

This commit is contained in:
Oleg Hasjanov 2021-03-09 13:03:11 +02:00
parent 743fb61daf
commit 0c22107b12
3 changed files with 25 additions and 3 deletions

View file

@ -31,7 +31,14 @@ class SerializersRegistrantApiDomainTest < ActiveSupport::TestCase
end
def test_returns_registrant_name_uuid_and_org
assert_equal({name: 'John', id: 'eb2f2766-b44c-4e14-9f16-32ab1a7cb957', org: false},
assert_equal({:name=>"John",
:id=>"eb2f2766-b44c-4e14-9f16-32ab1a7cb957",
:ident=>"1234",
:ident_type=>"priv",
:ident_country_code=>"US",
:phone=>"+555.555",
:email=>"john@inbox.test",
:org=>false},
@json[:registrant])
end