[openstreetmap/openstreetmap-website] Redaction factory (#1492)
Andy Allan
notifications at github.com
Wed Mar 15 18:09:22 UTC 2017
This PR creates a redaction factory and uses it wherever the redactions fixtures were used explicitly. The redactions fixture is still used indirectly by various other fixtures so needs to wait for them to be refactored before it can be removed.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1492
-- Commit Summary --
* Create a redactions factory and use for model tests.
* Use redactions factory in redaction controller test.
* Fix typos in assertion messages.
* Use redaction factory for old_relation controller tests.
* Use redactions factory for old_node controller tests.
* Use redactions factory for old_way controller tests
-- File Changes --
M test/controllers/old_node_controller_test.rb (36)
M test/controllers/old_relation_controller_test.rb (24)
M test/controllers/old_way_controller_test.rb (33)
M test/controllers/redactions_controller_test.rb (30)
A test/factories/old_node.rb (16)
A test/factories/redaction.rb (8)
M test/models/redaction_test.rb (7)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1492.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1492.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/1492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170315/e0833959/attachment-0001.html>
More information about the rails-dev
mailing list