Use round brackets

This commit is contained in:
gregoirenovel 2018-10-15 15:48:01 +02:00
parent 0196309822
commit 2ed4c1da1c
4 changed files with 9 additions and 9 deletions

View file

@ -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