Rubocop update, turned off SpaceInsideHash check

This commit is contained in:
Priit Tark 2015-07-06 10:30:31 +03:00
parent c5c4c4879f
commit 1c6fd89927
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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