mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Merge branch 'master' into registry-693
# Conflicts: # app/api/repp/domain_transfers_v1.rb
This commit is contained in:
commit
1fad07963f
41 changed files with 524 additions and 285 deletions
|
@ -1,6 +1,6 @@
|
|||
require 'test_helper'
|
||||
|
||||
class DomainTransferTest < ActiveSupport::TestCase
|
||||
class DomainTransferableTest < ActiveSupport::TestCase
|
||||
def setup
|
||||
@domain = domains(:shop)
|
||||
@new_registrar = registrars(:goodnames)
|
||||
|
@ -44,22 +44,4 @@ class DomainTransferTest < ActiveSupport::TestCase
|
|||
@domain.transfer(@new_registrar)
|
||||
refute_same old_transfer_code, @domain.transfer_code
|
||||
end
|
||||
|
||||
def test_creates_domain_transfer
|
||||
assert_difference 'DomainTransfer.count' do
|
||||
@domain.transfer(@new_registrar)
|
||||
end
|
||||
end
|
||||
|
||||
def test_creates_message
|
||||
assert_difference 'Message.count' do
|
||||
@domain.transfer(@new_registrar)
|
||||
end
|
||||
end
|
||||
|
||||
def test_copies_contacts
|
||||
assert_difference 'Contact.count', 2 do
|
||||
@domain.transfer(@new_registrar)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue