X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36a1f3810931e6c20f8c6835d53d2dd813b3d575..1a4f5aa7a1064747d6e154f4b1d03b73aa914834:/test/controllers/api/traces_controller_test.rb diff --git a/test/controllers/api/traces_controller_test.rb b/test/controllers/api/traces_controller_test.rb index ea8476453..c2ddb6031 100644 --- a/test/controllers/api/traces_controller_test.rb +++ b/test/controllers/api/traces_controller_test.rb @@ -307,7 +307,7 @@ module Api updated = Trace.find(trace.id) # Ensure there's only one tag in the database after updating - assert_equal Tracetag.count, 1 + assert_equal(1, Tracetag.count) # The new tag object might have a different id, so check the string representation assert_equal trace.tagstring, updated.tagstring end