From: Andy Allan Date: Wed, 22 Apr 2020 09:02:41 +0000 (+0200) Subject: Refactor site controller tests to inherit from ActionDispatch::IntegrationTest X-Git-Tag: live~3179^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1aa5a54419d1112b246fa5d967f0ae3ffdcadf2b?hp=1aa5a54419d1112b246fa5d967f0ae3ffdcadf2b Refactor site controller tests to inherit from ActionDispatch::IntegrationTest This is the modern way of writing controller tests, since it uses the rails middleware (among other things) and leads to more realistic tests. Refs #2563 ---