This commit is contained in:
Xavier J 2016-01-15 13:15:50 +01:00
parent 2ce8e4734b
commit 0f93aba6bc

View file

@ -42,7 +42,7 @@ describe GeojsonService do
it { expect(subject['geom']['type']).to eq('Feature') } it { expect(subject['geom']['type']).to eq('Feature') }
it { expect(subject['geom']['geometry']['type']).to eq('Polygon') } it { expect(subject['geom']['geometry']['type']).to eq('Polygon') }
it { expect(subject['geom']['geometry']['coordinates']).to eq([[coordinates]]) } it { expect(subject['geom']['geometry']['coordinates']).to eq([coordinates]) }
end end
describe 'coordinates are informed' do describe 'coordinates are informed' do
@ -50,7 +50,7 @@ describe GeojsonService do
it { expect(subject['geom']['type']).to eq('Feature') } it { expect(subject['geom']['type']).to eq('Feature') }
it { expect(subject['geom']['geometry']['type']).to eq('Polygon') } it { expect(subject['geom']['geometry']['type']).to eq('Polygon') }
it { expect(subject['geom']['geometry']['coordinates']).to eq([[coordinates]]) } it { expect(subject['geom']['geometry']['coordinates']).to eq([coordinates]) }
end end
end end
end end