[openstreetmap/openstreetmap-website] More factory refactoring (#1544)

Andy Allan notifications at github.com
Wed May 17 11:13:41 UTC 2017


Factory factory factory.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor remaining way model tests to use factories.
  * Refactor get_nodes_undelete test to use factories instead of fixtures.
  * Refactor the relation_for_nwr tests to use factories
  * Refactor some relation_controller tests to use factories.
  * Update more relation_controller tests to use factories.

-- File Changes --

    M test/controllers/relation_controller_test.rb (290)
    M test/models/old_way_test.rb (41)
    M test/models/way_test.rb (25)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1544.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1544.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/1544
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170517/84004c9b/attachment-0001.html>


More information about the rails-dev mailing list