mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Fix some tests #2741
This commit is contained in:
parent
61dfe6e1f3
commit
36e4f2ddc9
3 changed files with 13 additions and 2 deletions
|
@ -131,6 +131,14 @@ class Registrar < ActiveRecord::Base
|
|||
)
|
||||
end
|
||||
|
||||
def credit!(sum, description)
|
||||
cash_account.account_activities.create!(
|
||||
sum: sum,
|
||||
currency: 'EUR',
|
||||
description: description
|
||||
)
|
||||
end
|
||||
|
||||
def domain_transfers
|
||||
at = DomainTransfer.arel_table
|
||||
DomainTransfer.where(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue