aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-08-10 08:45:54 +0100
committerAndrew White <andrew.white@unboxed.co>2016-08-10 08:45:54 +0100
commit13cbe12aebc09053b06b93e6fe53062f424674a0 (patch)
tree08f974bcce80c5bd0ea73cf621561d4398db2723 /actionpack/lib
parent7b31b06d4afd73734ac54cbbac105f0eab8d0d43 (diff)
downloadrails-13cbe12aebc09053b06b93e6fe53062f424674a0.tar.gz
rails-13cbe12aebc09053b06b93e6fe53062f424674a0.tar.bz2
rails-13cbe12aebc09053b06b93e6fe53062f424674a0.zip
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.
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb5
1 files changed, 0 insertions, 5 deletions
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