]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/ways_controller_test.rb
Fix rubocop-minitest warnings
[rails.git] / test / controllers / api / ways_controller_test.rb
index e4b9f36632952ac32839296dd5ff90fe5135a157..ae7f1816120dd5a67aea0024b2009d883fc7bf80 100644 (file)
@@ -190,8 +190,8 @@ module Api
                    "saved way does not belong to the correct changeset"
       assert_equal user.id, checkway.changeset.user_id,
                    "saved way does not belong to user that created it"
-      assert_equal true, checkway.visible,
-                   "saved way is not visible"
+      assert checkway.visible,
+             "saved way is not visible"
     end
 
     # -------------------------------------