Add QP on user carte

This commit is contained in:
Xavier J 2015-11-25 10:26:55 +01:00
parent e928284c15
commit f4e63d40b0
12 changed files with 200 additions and 24 deletions

View file

@ -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) { '' }