1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller
Xavier Noria 447b6a4e67 removes usage of Object#in? from the code base (the method remains defined by Active Support)
Selecting which key extensions to include in active_support/rails
made apparent the systematic usage of Object#in? in the code base.
After some discussion in

    5ea6b0df9a

we decided to remove it and use plain Ruby, which seems enough
for this particular idiom.

In this commit the refactor has been made case by case. Sometimes
include? is the natural alternative, others a simple || is the
way you actually spell the condition in your head, others a case
statement seems more appropriate. I have chosen the one I liked
the most in each case.
2012-08-06 00:30:02 +02:00
..
controller_fixtures
new_base Collapsed dual checks (one for content headers and one for content) into a single check. 2012-08-02 16:01:08 -07:00
request
action_pack_assertions_test.rb Improve assert_template layout checking 2012-05-04 23:31:09 +04:00
assert_select_test.rb
base_test.rb
caching_test.rb Escape the extension when normalizing the action cache path. 2012-05-20 19:07:05 +01:00
capture_test.rb
content_type_test.rb
default_url_options_with_filter_test.rb
filters_test.rb Clean up Sweeper controller accessor when an Error is raised 2012-07-20 05:49:45 -05:00
flash_hash_test.rb
flash_test.rb Use "instance_accessor" for flash types class attribute 2012-07-07 09:16:48 -03:00
force_ssl_test.rb Extracted redirect logic from ActionController::Force::ClassMethods.force_ssl 2012-05-31 12:39:28 -04:00
helper_test.rb stop to_sing method names 2012-06-06 19:33:38 +09:00
http_basic_authentication_test.rb
http_digest_authentication_test.rb Fix for digest authentication bug - issue #2301 in rails/rails 2012-08-02 15:24:08 -04:00
http_token_authentication_test.rb Fix indentation. 2012-07-11 02:07:25 +02:00
integration_test.rb Include routes.mounted_helpers into integration tests 2012-06-01 16:14:08 +02:00
layout_test.rb Remove warning renaming the test classes to use the test convention 2012-07-29 17:47:05 -03:00
live_stream_test.rb make sure the body finishes rendering before checking response closure 2012-08-03 00:27:39 -04:00
localized_templates_test.rb
log_subscriber_test.rb
mime_responds_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
output_escaping_test.rb
params_wrapper_test.rb Show in log correct wrapped keys 2012-05-20 09:33:56 +04:00
record_identifier_test.rb
redirect_test.rb
render_js_test.rb
render_json_test.rb Add changelog entry for jsonp mimetype change, fix failing test 2012-04-29 12:01:05 -03:00
render_other_test.rb
render_test.rb html_escape should escape single quotes 2012-07-31 22:26:52 -03:00
render_xml_test.rb
request_forgery_protection_test.rb no need to pass an empty block to button_to helper 2012-05-30 23:02:26 +03:00
rescue_test.rb
resources_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
routing_test.rb Support unicode character route in config/routes.rb. 2012-06-16 00:22:16 +09:00
runner_test.rb
selector_test.rb
send_file_test.rb flushing output should write to the stream rather than mutating the response object 2012-07-29 17:02:00 -07:00
show_exceptions_test.rb This consider_all_requests_local doesn't make sense 2012-06-12 13:25:11 -03:00
streaming_test.rb remove dead test 2012-07-29 16:00:50 -07:00
sweeper_test.rb
test_case_test.rb Merge branch 'master' into testclean 2012-07-05 14:03:57 -07:00
url_for_integration_test.rb
url_for_test.rb Remove warning renaming the test classes to use the test convention 2012-07-29 17:47:05 -03:00
url_rewriter_test.rb this test is not a controller test, so switch to AS::TC 2012-07-28 20:30:52 -07:00
view_paths_test.rb
webservice_test.rb