X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/76f1d7bc783228894652f24f0619e8a48d0b3271..5d67fa3908b835f7a2f099ca8525b64bcc9fe9e2:/test/controllers/api/changesets_controller_test.rb diff --git a/test/controllers/api/changesets_controller_test.rb b/test/controllers/api/changesets_controller_test.rb index f3de0682b..3b4eef25a 100644 --- a/test/controllers/api/changesets_controller_test.rb +++ b/test/controllers/api/changesets_controller_test.rb @@ -205,8 +205,8 @@ module Api # 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}.") + assert_not(cs.open?, + "changeset should be closed now (#{cs.closed_at} > #{Time.now.utc}.") end ## @@ -1743,7 +1743,7 @@ module Api assert_equal Changeset::MAX_ELEMENTS + 1, changeset.num_changes # check that the changeset is now closed as well - assert_not(changeset.is_open?, + assert_not(changeset.open?, "changeset should have been auto-closed by exceeding " \ "element limit.") end