X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/91b31f03de0143c4e207fb3a001b32859f560388..7a1615bc55aee72dd03a5dd43c08b4f13f669f06:/test/controllers/api/ways_controller_test.rb diff --git a/test/controllers/api/ways_controller_test.rb b/test/controllers/api/ways_controller_test.rb index e4b9f3663..ae7f18161 100644 --- a/test/controllers/api/ways_controller_test.rb +++ b/test/controllers/api/ways_controller_test.rb @@ -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 # -------------------------------------