Fix fixture

Otherwise HTML validation fails
This commit is contained in:
Artur Beljajev 2019-03-07 14:49:32 +02:00
parent 85ba5c066a
commit ad9a58a17d
3 changed files with 9 additions and 3 deletions

View file

@ -25,7 +25,10 @@ class SerializersRegistrantApiDomainTest < ActiveSupport::TestCase
end
def test_returns_registrar_name
assert_equal({name: 'Best Names', website: 'bestnames.test' }, @json[:registrar])
assert_equal 'Best Names', @domain.registrar.name
assert_equal 'https://bestnames.test', @domain.registrar.website
assert_equal({name: 'Best Names', website: 'https://bestnames.test' }, @json[:registrar])
end
def test_returns_registrant_name_and_uuid