openstreetmap-website/test
Harry Wood fcbccb6a44 Report verification render not redirect
Fix an issue with the report verification, causing it to lose the text of a report if the user fails to fill in a category.

By using a `render` instead of a `redirect_to`, the rails standard verification behaviour works better. It means we also get a nice red "can't be blank" message highlighting the specific missing field.
2022-05-04 19:42:36 +01:00
..
abilities Ensure that test utility methods are marked as private 2020-10-28 11:49:01 +01:00
controllers Report verification render not redirect 2022-05-04 19:42:36 +01:00
factories Fix rubocop Rails/TimeZone warnings 2022-03-01 22:55:10 +00:00
gpx/fixtures Remove unused directories 2020-03-18 15:04:18 +01:00
helpers Fix new rubocop warnings 2022-03-15 19:24:09 +00:00
http Remove npemap as a source for UK postcodes 2018-02-04 15:14:41 +00:00
integration Fix new rubocop warnings 2022-03-15 19:24:09 +00:00
javascripts Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
jobs Send trace import result notification immediately 2019-07-15 21:45:07 +01:00
lib Rubocop autofix: ambiguous operator precedence 2022-04-06 14:55:29 +01:00
mailers Add a test for i18n interpolation into plain and html parts 2020-12-02 13:02:25 +00:00
models Format report text with kramdown 2022-04-29 01:31:39 +01:00
system Format report text with kramdown 2022-04-29 01:31:39 +01:00
validators Fix new rubocop warnings 2022-03-15 19:24:09 +00:00
application_system_test_case.rb Switch to using selenium for system tests 2020-04-22 13:51:37 +01:00
test_helper.rb Fix some Naming/AccessorMethodName rubocop warnings 2022-03-08 19:10:05 +00:00