[openstreetmap/openstreetmap-website] Node factory refactorings (#1527)
Andy Allan
notifications at github.com
Mon Apr 24 18:58:38 UTC 2017
Here's a few more refactorings, centred around the node factories.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1527
-- Commit Summary --
* Use node and relation_member factories for testing containing_relations and containing_relation_members
* Convert the duplicate_tags node controller test to use factories.
* Convert the node_controller update tests to use factories.
-- File Changes --
M test/controllers/node_controller_test.rb (132)
M test/factories/node_tags.rb (3)
M test/models/node_test.rb (29)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1527.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1527.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/1527
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170424/3f486515/attachment.html>
More information about the rails-dev
mailing list