Enable Style/TrailingCommaInArguments

This commit is contained in:
gregoirenovel 2018-10-01 14:08:12 +02:00
parent 275bb64c1f
commit 7e4268db67
4 changed files with 4 additions and 4 deletions

View file

@ -1220,7 +1220,7 @@ Style/TrailingBodyOnModule:
Enabled: true Enabled: true
Style/TrailingCommaInArguments: Style/TrailingCommaInArguments:
Enabled: false Enabled: true
Style/TrailingCommaInArrayLiteral: Style/TrailingCommaInArrayLiteral:
Enabled: true Enabled: true

View file

@ -19,7 +19,7 @@ class CARTO::SGMAP::API
RestClient::Resource.new( RestClient::Resource.new(
url, url,
verify_ssl: verify_ssl_mode, verify_ssl: verify_ssl_mode
).post params[:geojson], content_type: 'application/json' ).post params[:geojson], content_type: 'application/json'
rescue RestClient::InternalServerError rescue RestClient::InternalServerError

View file

@ -753,7 +753,7 @@ describe Procedure do
p = create( p = create(
:procedure, :procedure,
juridique_required: false, juridique_required: false,
cadre_juridique: nil, cadre_juridique: nil
) )
expect(p.juridique_required).to be_falsey expect(p.juridique_required).to be_falsey

View file

@ -5,7 +5,7 @@ describe 'new_gestionnaire/dossiers/envoyer_dossier_block.html.haml', type: :vie
render( render(
'new_gestionnaire/dossiers/envoyer_dossier_block.html.haml', 'new_gestionnaire/dossiers/envoyer_dossier_block.html.haml',
dossier: dossier, dossier: dossier,
potential_recipients: potential_recipients, potential_recipients: potential_recipients
) )
end end