Enable the Layout/MultilineMethodCallIndentation cop
This commit is contained in:
parent
b77837bfd1
commit
73dd58b6cd
21 changed files with 85 additions and 85 deletions
|
@ -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) { '' }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue