[openstreetmap/openstreetmap-website] Adjust submit labels to use built-in i18n handling (#2257)

Tom Hughes notifications at github.com
Wed Jun 12 18:50:39 UTC 2019

tomhughes commented on this pull request.

> @@ -18,4 +18,10 @@ def initialize(*args)
       .to_return(:status => 404)
+  # Phantomjs can pick up browser Accept-Language preferences from your desktop environment.
+  # We don't want this to happen during the tests!
+  setup do
+    page.driver.add_headers("Accept-Language" => "en")
+  end

Ah ok. I hadn't actually even worked out which commit it came from, I was just surprised to see it.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190612/dcb21ffa/attachment.html>

More information about the rails-dev mailing list