zeitwerk: Api -> API

This commit is contained in:
Pierre de La Morinerie 2020-08-05 16:40:47 +00:00
parent 482f990594
commit 150ddab660
82 changed files with 235 additions and 217 deletions

View file

@ -1,4 +1,4 @@
describe ApiCarto::API do
describe APICarto::API do
describe '.search_cadastre' do
subject { described_class.search_cadastre(geojson) }
@ -13,8 +13,8 @@ describe ApiCarto::API do
let(:status) { 404 }
let(:body) { '' }
it 'raises ApiCarto::API::ResourceNotFound' do
expect { subject }.to raise_error(ApiCarto::API::ResourceNotFound)
it 'raises APICarto::API::ResourceNotFound' do
expect { subject }.to raise_error(APICarto::API::ResourceNotFound)
end
end

View file

@ -1,4 +1,4 @@
describe ApiCarto::CadastreAdapter do
describe APICarto::CadastreAdapter do
subject { described_class.new(coordinates).results }
before do
@ -58,6 +58,6 @@ describe ApiCarto::CadastreAdapter do
let(:status) { 404 }
let(:body) { '' }
it { expect { subject }.to raise_error(ApiCarto::API::ResourceNotFound) }
it { expect { subject }.to raise_error(APICarto::API::ResourceNotFound) }
end
end