[openstreetmap/openstreetmap-website] Redaction factory (#1492)

Tom Hughes notifications at github.com
Wed Mar 15 18:43:52 UTC 2017


tomhughes requested changes on this pull request.



>  
     do_redact_node(nodes(:node_with_versions_v3),
-                   redactions(:example))
+                   create(:redaction, :user => user))

There's no need for the redaction to be owned by the same user that is trying use it right? I mean the old code doesn't seem to correlate them like this?

-- 
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#pullrequestreview-27162185
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170315/1fed86f0/attachment.html>


More information about the rails-dev mailing list