X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/36a1f3810931e6c20f8c6835d53d2dd813b3d575..93b8c47c8fa1aac86d2d9c730c327c076b578a84:/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