zeitwerk: Api -> API
This commit is contained in:
parent
482f990594
commit
150ddab660
82 changed files with 235 additions and 217 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue