mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +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
|
||||
Style/RegexpLiteral:
|
||||
Enabled: false
|
||||
|
||||
# annoying to maintain, small thing, no real problem
|
||||
Style/SpaceInsideHashLiteralBraces:
|
||||
Enabled: false
|
||||
|
|
|
@ -345,7 +345,7 @@ describe 'EPP Domain', epp: true do
|
|||
it 'creates a domain with period in days' do
|
||||
old_balance = @registrar1.balance
|
||||
old_activities = @registrar1.cash_account.account_activities.count
|
||||
xml = domain_create_xml(period: { value: '365', attrs: { unit: 'd' }})
|
||||
xml = domain_create_xml(period: { value: '365', attrs: { unit: 'd' } })
|
||||
|
||||
response = epp_plain_request(xml)
|
||||
response[:msg].should == 'Command completed successfully'
|
||||
|
@ -2122,7 +2122,8 @@ 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