From: Tom Hughes Date: Tue, 5 May 2020 18:20:21 +0000 (+0100) Subject: Remove unused function X-Git-Tag: live~2752 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/dbf0147d21903899e64cd88afb6bb66b8836097f Remove unused function --- diff --git a/test/test_helper.rb b/test/test_helper.rb index 84d03bec2..c02b23728 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -171,11 +171,7 @@ module ActiveSupport end ## - # set request readers to ask for a particular error format - def error_format(format) - @request.env["HTTP_X_ERROR_FORMAT"] = format - end - + # return request header to ask for a particular error format def error_format_header(f) { "X-Error-Format" => f } end