mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Fix rubocop #2691
This commit is contained in:
parent
087ab8cfec
commit
fa4a2d2987
1 changed files with 10 additions and 4 deletions
|
@ -2122,7 +2122,13 @@ describe 'EPP Domain', epp: true do
|
|||
end
|
||||
|
||||
it 'does not renew a domain if credit balance low' do
|
||||
f = Fabricate(:pricelist, valid_to: Time.zone.now + 1.day, operation_category: 'renew', duration: '1year', price: 100000)
|
||||
f = Fabricate(:pricelist, {
|
||||
valid_to: Time.zone.now + 1.day,
|
||||
operation_category: 'renew',
|
||||
duration: '1year',
|
||||
price: 100000
|
||||
})
|
||||
|
||||
old_balance = @registrar1.balance
|
||||
old_activities = @registrar1.cash_account.account_activities.count
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue