]> git.openstreetmap.org Git - rails.git/blobdiff - test/lib/bounding_box_test.rb
Resolve 34 Rubocop Lint/AmbiguousOperator conflicts
[rails.git] / test / lib / bounding_box_test.rb
index 46ff38c9ade19cd597cb0d08b4a9a135f9022a33..a29711b0b445dd531b485c61c8b13b985a33a344 100644 (file)
@@ -168,8 +168,8 @@ class BoundingBoxTest < ActiveSupport::TestCase
     @bad_negative_boundary_bbox.each do |bbox_string|
       bbox = BoundingBox.from_bbox_params(:bbox => bbox_string)
       array = bbox.to_a
-      assert_equal -180, [array[0], array[2]].min
-      assert_equal -90, [array[1], array[3]].min
+      assert_equal(-180, [array[0], array[2]].min)
+      assert_equal(-90, [array[1], array[3]].min)
     end
   end