Add QP on user carte
This commit is contained in:
parent
e928284c15
commit
f4e63d40b0
12 changed files with 200 additions and 24 deletions
|
@ -9,10 +9,10 @@ describe GeojsonService do
|
|||
type: "Polygon",
|
||||
coordinates: [coordinates]
|
||||
}
|
||||
}
|
||||
}.to_json
|
||||
}
|
||||
|
||||
subject { described_class.to_polygon coordinates }
|
||||
subject { described_class.to_json_polygon coordinates }
|
||||
|
||||
describe 'coordinates are empty' do
|
||||
let(:coordinates) { '' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue