X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd7ef37ec023646120358a0a6a7959a392b79f1c..8d52069b0041f6b4322b2cdb1fe37f3ce1f6b11d:/test/unit/way_test.rb diff --git a/test/unit/way_test.rb b/test/unit/way_test.rb index 9c9ffe59a..ca5b75176 100644 --- a/test/unit/way_test.rb +++ b/test/unit/way_test.rb @@ -15,7 +15,10 @@ class WayTest < ActiveSupport::TestCase :invisible_way, :used_way ].each do |way_symbol| way = current_ways(way_symbol) - assert_equal node.bbox, way.bbox + assert_equal node.bbox.min_lon, way.bbox.min_lon, 'min_lon' + assert_equal node.bbox.min_lat, way.bbox.min_lat, 'min_lat' + assert_equal node.bbox.max_lon, way.bbox.max_lon, 'max_lon' + assert_equal node.bbox.max_lat, way.bbox.max_lat, 'max_lat' end end