Use round brackets
This commit is contained in:
parent
0196309822
commit
2ed4c1da1c
4 changed files with 9 additions and 9 deletions
|
@ -16,15 +16,15 @@ describe CARTO::SGMAP::Cadastre::Adapter do
|
|||
let(:body) { File.read('spec/support/files/geojson/response_cadastre.json') }
|
||||
|
||||
it { expect(subject).to be_a_instance_of(Array) }
|
||||
it { expect(subject.size).to eq 16 }
|
||||
it { expect(subject.size).to eq(16) }
|
||||
|
||||
describe 'Attribut filter' do
|
||||
let(:adapter) { described_class.new(coordinates) }
|
||||
subject { adapter.filter_properties adapter.data_source }
|
||||
subject { adapter.filter_properties(adapter.data_source) }
|
||||
|
||||
it { expect(subject.size).to eq 9 }
|
||||
it { expect(subject.size).to eq(9) }
|
||||
it do
|
||||
expect(subject.keys).to eq [
|
||||
expect(subject.keys).to eq([
|
||||
:surface_intersection,
|
||||
:surface_parcelle,
|
||||
:numero,
|
||||
|
@ -34,7 +34,7 @@ describe CARTO::SGMAP::Cadastre::Adapter do
|
|||
:nom_com,
|
||||
:code_com,
|
||||
:code_arr
|
||||
]
|
||||
])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue