[openstreetmap/openstreetmap-website] Problem with deny_access and request formats during tests (#2064)

Tom Hughes notifications at github.com
Wed Nov 14 21:12:40 UTC 2018


Ah right. I suspect we should still make that change though, to avoid sending HTML responses to API clients.

As far as the tests go I'm inclined to revert to saying the tests should be fixed one way or another, as if they are testing a controller method it is their responsibility to invoke it in the same way that rails for an actual client?

-- 
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/issues/2064#issuecomment-438820488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181114/3deb6ea9/attachment.html>


More information about the rails-dev mailing list