Folows #5965. Finishes API changeset resources refactor.

Converts [diff 
upload](https://wiki.openstreetmap.org/wiki/API_v0.6#Diff_upload:_POST_/api/0.6/changeset/#id/upload)
 action of api changeset controller into its own recource/controller.

The PR consists mostly of moving and rewriting tests.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5977

-- Commit Summary --

  * Create api changeset upload resource
  * Remove unnecessary RuboCop exclusions
  * Move api changeset upload route test
  * Split and move api changeset test_upload_simple_valid
  * Test scopes for api changeset upload
  * Move api changeset upload create tests
  * Move api changeset upload delete tests
  * Move api changeset upload modify tests
  * Move api changeset upload unknown action test
  * Move api changeset upload combined action tests
  * Move api empty changeset upload test
  * Move api changeset upload xml error test
  * Refactor api changeset test_upload_not_found
  * Move api changeset upload rate/size limit tests
  * Move api changeset upload bbox tests
  * Move api changeset upload-download tests

-- File Changes --

    M .rubocop.yml (2)
    M app/abilities/api_ability.rb (2)
    A app/controllers/api/changesets/uploads_controller.rb (44)
    M app/controllers/api/changesets_controller.rb (37)
    M config/routes.rb (9)
    A test/controllers/api/changesets/uploads_controller_test.rb (1370)
    M test/controllers/api/changesets_controller_test.rb (1541)
    M test/controllers/api/relations_controller_test.rb (2)
    A test/integration/changeset_upload_download_test.rb (177)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5977.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5977.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5977
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to