mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Fix fixture
Otherwise HTML validation fails
This commit is contained in:
parent
85ba5c066a
commit
ad9a58a17d
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue