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
Ryuta Kamizono ea65d92f19
Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904)
* Enable `Lint/UselessAssignment` cop to avoid unused variable warnings

Since we've addressed the warning "assigned but unused variable"
frequently.

370537de05
3040446cec
5ed618e192
76ebafe594

And also, I've found the unused args in c1b14ad which raises no warnings
by the cop, it shows the value of the cop.
2019-01-09 18:09:01 +09:00
..
api Deprecate controller level force_ssl 2018-03-30 09:58:28 -04:00
controller_fixtures
metal Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
mime Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
new_base Merge pull request #33949 from sjain1107/no-private-def 2018-09-23 19:39:15 +02:00
parameters Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
request Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
action_pack_assertions_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
base_test.rb Merge pull request #33256 from ilkkao/ilkkao/remove-unused-params-option 2018-10-01 10:20:50 +09:00
caching_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
content_type_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
default_url_options_with_before_action_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
filters_test.rb Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904) 2019-01-09 18:09:01 +09:00
flash_hash_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
flash_test.rb Make sure the flash method is defined even if helpers are not present 2018-09-13 18:23:20 -04:00
force_ssl_test.rb Deprecate controller level force_ssl 2018-03-30 09:58:28 -04:00
form_builder_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
helper_test.rb Make actionpack frozen string friendly 2017-07-24 23:38:04 +03:00
http_basic_authentication_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
http_digest_authentication_test.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
http_token_authentication_test.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
integration_test.rb Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
live_stream_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
localized_templates_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
log_subscriber_test.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
metal_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
output_escaping_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
parameter_encoding_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
params_parse_test.rb Allow rescue from parameter parse errors 2018-11-13 18:05:05 -05:00
params_wrapper_test.rb Merge pull request #31005 from shuheiktgw/remove_unnecessary_semicolons 2017-10-28 22:55:34 +10:30
permitted_params_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
redirect_test.rb Add missing test case for redirect_to when request includes a port. 2018-09-21 09:01:37 +08:00
render_js_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
render_json_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
render_test.rb Allow using combine the Cache-Control public and no-cache headers 2019-01-07 07:52:29 +09:00
render_xml_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
renderer_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
renderers_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
request_forgery_protection_test.rb Include application/javascript when checking content_type 2018-05-27 16:17:53 +02:00
required_params_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
rescue_test.rb Remove unused methods 2018-12-23 21:33:29 +09:00
resources_test.rb Merge pull request #20865 from colavitam/only-except-behavior 2018-11-19 19:06:40 -05:00
routing_test.rb Make Rails Facebook-free 2018-12-24 13:54:30 +05:30
runner_test.rb Use respond_to test helpers 2018-01-25 23:32:58 -05:00
send_file_test.rb Encode Content-Disposition filenames on send_data and send_file 2018-09-13 21:38:46 +09:00
show_exceptions_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
streaming_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
test_case_test.rb Pass the correct value as JSON 2018-12-19 12:47:36 +09:00
url_for_integration_test.rb Enable Layout/LeadingCommentSpace to not allow cosmetic changes in the future 2017-12-14 17:30:54 +09:00
url_for_test.rb Use respond_to test helpers 2018-01-25 23:32:58 -05:00
url_rewriter_test.rb Enable Layout/LeadingCommentSpace to not allow cosmetic changes in the future 2017-12-14 17:30:54 +09:00
webservice_test.rb Enable Lint/UselessAssignment cop to avoid unused variable warnings (#34904) 2019-01-09 18:09:01 +09:00