mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Create tests for Dispute
This commit is contained in:
parent
f73833e478
commit
483eec554e
8 changed files with 228 additions and 23 deletions
|
@ -43,7 +43,7 @@ class ReservedDomain < ApplicationRecord
|
|||
end
|
||||
|
||||
def sync_dispute_password
|
||||
dispute = Dispute.active.find_by(domain_name: domain_name)
|
||||
dispute = Dispute.active.find_by(domain_name: name)
|
||||
self.password = dispute.password if dispute.present?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue