X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f07819d81a7437e58c6e64c2e76ba7e54fad9034..e756dbae7f3715561de5688e6503b60fdfe0327d:/test/unit/way_test.rb?ds=inline 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