X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/083500f056f5b995f1979f88b37793046d9e4d37..d76756d202aa3e3e12004e3a9f31898292b078d6:/test/models/way_test.rb diff --git a/test/models/way_test.rb b/test/models/way_test.rb index fb37be1b4..3c44f2f26 100644 --- a/test/models/way_test.rb +++ b/test/models/way_test.rb @@ -29,7 +29,7 @@ class WayTest < ActiveSupport::TestCase # Take one of the current ways and add nodes to it until we are near the limit assert way.valid? # it already has 1 node - 1.upto(MAX_NUMBER_OF_WAY_NODES / 2) do + 1.upto(Settings.max_number_of_way_nodes / 2) do way.add_nd_num(node_a.id) way.add_nd_num(node_b.id) end