[openstreetmap/openstreetmap-website] Node factories (#1496)
Andy Allan
notifications at github.com
Wed Mar 22 18:48:02 UTC 2017
This PR introduces the node factory, and starts using the node and old_node factories for more tests.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1496
-- Commit Summary --
* Use old_node factory for OldNode model tests.
* Create a node factory, and use it for most node model tests
* Use node and old_node factories for redaction model tests.
-- File Changes --
A test/factories/node.rb (13)
M test/models/node_test.rb (85)
M test/models/old_node_test.rb (99)
M test/models/redaction_test.rb (23)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1496.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1496.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/1496
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170322/94b92e5e/attachment.html>
More information about the rails-dev
mailing list