[openstreetmap/openstreetmap-website] Adjust submit labels to use built-in i18n handling (#2257)
Tom Hughes
notifications at github.com
Wed Jun 12 18:01:26 UTC 2019
tomhughes commented on this pull request.
> @@ -18,4 +18,10 @@ def initialize(*args)
.to_return(:status => 404)
super(*args)
end
+
+ # 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
As much as we may want this I think it at least needs to be in a separate commit... I assume it got added accidentally with something else?
--
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/2257#pullrequestreview-248927007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190612/43714ebe/attachment.html>
More information about the rails-dev
mailing list