mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Rubocop update, turned off SpaceInsideHash check
This commit is contained in:
parent
c5c4c4879f
commit
1c6fd89927
2 changed files with 7 additions and 2 deletions
|
@ -116,3 +116,7 @@ Style/FirstParameterIndentation:
|
||||||
# old school regex // works fine
|
# old school regex // works fine
|
||||||
Style/RegexpLiteral:
|
Style/RegexpLiteral:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
# annoying to maintain, small thing, no real problem
|
||||||
|
Style/SpaceInsideHashLiteralBraces:
|
||||||
|
Enabled: false
|
||||||
|
|
|
@ -2122,7 +2122,8 @@ describe 'EPP Domain', epp: true do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not renew a domain if credit balance low' do
|
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_balance = @registrar1.balance
|
||||||
old_activities = @registrar1.cash_account.account_activities.count
|
old_activities = @registrar1.cash_account.account_activities.count
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue