fix test
This commit is contained in:
parent
2ce8e4734b
commit
0f93aba6bc
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ describe GeojsonService do
|
|||
|
||||
it { expect(subject['geom']['type']).to eq('Feature') }
|
||||
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
|
||||
|
||||
describe 'coordinates are informed' do
|
||||
|
@ -50,7 +50,7 @@ describe GeojsonService do
|
|||
|
||||
it { expect(subject['geom']['type']).to eq('Feature') }
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue