]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/changesets_controller_test.rb
Fix rubocop Rails/TimeZone warnings
[rails.git] / test / controllers / api / changesets_controller_test.rb
index f3de0682b53ad1ca28da38b400f1436f1fb7dd7f..e61831fbd2feec5dd25cedee8848322537331a33 100644 (file)
@@ -206,7 +206,7 @@ module Api
       # test that it really is closed now
       cs = Changeset.find(changeset.id)
       assert_not(cs.is_open?,
       # test that it really is closed now
       cs = Changeset.find(changeset.id)
       assert_not(cs.is_open?,
-                 "changeset should be closed now (#{cs.closed_at} > #{Time.now.getutc}.")
+                 "changeset should be closed now (#{cs.closed_at} > #{Time.now.utc}.")
     end
 
     ##
     end
 
     ##