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/parameters
Ryuta Kamizono 892e38c78e Enable Style/RedundantBegin cop to avoid newly adding redundant begin block
Currently we sometimes find a redundant begin block in code review
(e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205).

I'd like to enable `Style/RedundantBegin` cop to avoid that, since
rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5
(https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with
that situation than before.
2018-12-21 06:12:42 +09:00
..
accessors_test.rb Fix ActionController::Parameters#each_value and add changelog entry to this method (#34210) 2018-10-15 21:28:15 +09:00
always_permitted_parameters_test.rb Permit list usage cleanup and clearer documentation 2018-08-27 09:51:46 -04:00
dup_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
log_on_unpermitted_params_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
multi_parameter_attributes_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
mutators_test.rb Rails 6 requires Ruby 2.4.1+ 2018-02-17 15:34:57 -08:00
nested_parameters_permit_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
parameters_permit_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
raise_on_unpermitted_params_test.rb Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
serialization_test.rb Remove usage of strip_heredoc in the framework in favor of <<~ 2018-02-16 19:28:30 -05:00