From 13cbe12aebc09053b06b93e6fe53062f424674a0 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Wed, 10 Aug 2016 08:45:54 +0100 Subject: Remove unused method In c546a2b parameter handling in AC test cases was changed to round tripping through encoders/decoders so that they matched reality and in 0adb8f8 the old methods were removed but the `html_format?` method was overlooked. --- actionpack/lib/action_controller/test_case.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index ccedecd6f4..737ba95ed0 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -668,11 +668,6 @@ module ActionController end end end - - def html_format?(parameters) - return true unless parameters.key?(:format) - Mime.fetch(parameters[:format]) { Mime["html"] }.html? - end end include Behavior -- cgit v1.2.3