[openstreetmap/openstreetmap-website] Convert notes and api controller tests to user factories (#1458)

Andy Allan notifications at github.com
Wed Feb 22 16:20:39 UTC 2017


This is the next in the sequence of PRs converting to user factories.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor api_controller tests to avoid users fixtures.
  * Convert notes_controller tests to user factories.

-- File Changes --

    M test/controllers/api_controller_test.rb (2)
    M test/controllers/notes_controller_test.rb (83)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170222/51a0e658/attachment.html>


More information about the rails-dev mailing list