]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/map_controller_test.rb
Fix some new rubocop warnings
[rails.git] / test / controllers / api / map_controller_test.rb
index dd7bb2cb3be9861e7752d60b0ac022299ec34b3f..607c4e42150afa06862ef2053d4e872b254f47f1 100644 (file)
@@ -181,7 +181,7 @@ module Api
                                    .select { |a| a["version"] == node.version }
                                    .select { |a| a["changeset"] == node.changeset_id }
                                    .select { |a| a["timestamp"] == node.timestamp.xmlschema }
-      assert_equal result_nodes.count, 1
+      assert_equal(1, result_nodes.count)
       result_node = result_nodes.first
 
       assert_equal result_node["tags"], tag.k => tag.v