Fix geo length computations

This commit is contained in:
Paul Chavard 2020-10-01 11:33:15 +02:00
parent 4dfc1c719f
commit 59086cc728
3 changed files with 46 additions and 3 deletions

View file

@ -14,7 +14,7 @@ RSpec.describe GeoArea, type: :model do
describe '#length' do
let(:geo_area) { build(:geo_area, :line_string) }
it { expect(geo_area.length).to eq(30.8) }
it { expect(geo_area.length).to eq(21.2) }
end
describe '#location' do