Fix geo length computations
This commit is contained in:
parent
4dfc1c719f
commit
59086cc728
3 changed files with 46 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue