mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
refactoring
This commit is contained in:
parent
81b476f37f
commit
4d64ee21a1
11 changed files with 49 additions and 42 deletions
|
@ -16,7 +16,7 @@ class SerializersRegistrantApiDomainTest < ActiveSupport::TestCase
|
|||
assert_not(@json[:locked_by_registrant_at])
|
||||
|
||||
travel_to Time.zone.parse('2010-07-05 10:30')
|
||||
@domain.apply_registry_lock(extensionsProhibited: false)
|
||||
@domain.apply_registry_lock(extensions_prohibited: false)
|
||||
serializer_for_locked_domain = Serializers::RegistrantApi::Domain.new(@domain.reload)
|
||||
new_json = serializer_for_locked_domain.to_json
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue