Enable the Layout/MultilineMethodCallIndentation cop

This commit is contained in:
gregoirenovel 2018-01-15 19:34:08 +01:00
parent b77837bfd1
commit 73dd58b6cd
21 changed files with 85 additions and 85 deletions

View file

@ -6,9 +6,9 @@ describe CARTO::SGMAP::API do
before do
stub_request(:post, "https://apicarto.sgmap.fr/quartiers-prioritaires/search")
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
end
context 'when geojson is empty' do
let(:geojson) { '' }
@ -54,9 +54,9 @@ describe CARTO::SGMAP::API do
before do
stub_request(:post, "https://apicarto.sgmap.fr/cadastre/geometrie")
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
end
context 'when geojson is empty' do
let(:geojson) { '' }

View file

@ -5,9 +5,9 @@ describe CARTO::SGMAP::Cadastre::Adapter do
before do
stub_request(:post, "https://apicarto.sgmap.fr/cadastre/geometrie")
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
end
context 'coordinates are filled' do

View file

@ -5,9 +5,9 @@ describe CARTO::SGMAP::QuartiersPrioritaires::Adapter do
before do
stub_request(:post, "https://apicarto.sgmap.fr/quartiers-prioritaires/search")
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
.with(:body => /.*/,
:headers => {'Content-Type' => 'application/json'})
.to_return(status: status, body: body)
end
context 'coordinates are filled' do