1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/generators
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
..
actions_test.rb Abort early if generator command fails (#34420) 2018-12-07 15:01:32 +09:00
api_app_generator_test.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
app_generator_test.rb Do not show post install message on rails new 2018-12-13 20:14:19 -05:00
application_record_generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
argv_scrubber_test.rb Fix "warning: assigned but unused variable - message" 2017-10-12 15:04:33 +09:00
assets_generator_test.rb Make Webpacker the default JavaScript compiler for Rails 6 (#33079) 2018-09-30 22:31:21 -07:00
channel_generator_test.rb Fix tests related to new JavaScript path for generators 2018-10-05 20:44:58 +05:30
controller_generator_test.rb Fix tests related to new JavaScript path for generators 2018-10-05 20:44:58 +05:30
create_migration_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
generated_attribute_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
generator_generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
generators_test_helper.rb Reset ActiveRecord::Base.configurations to the value before 2018-09-29 09:25:59 +09:00
helper_generator_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
integration_test_generator_test.rb Remove redundant suffixes on generated integration tests. 2018-12-12 12:12:51 -05:00
job_generator_test.rb Fix duplicated suffix for JobGenerator 2018-04-22 12:09:04 +09:00
mailer_generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
migration_generator_test.rb Refactor migrations_path command option to database 2018-09-28 14:24:36 -04:00
model_generator_test.rb Refactor migrations_path command option to database 2018-09-28 14:24:36 -04:00
named_base_test.rb Generate the correct path in nested scaffold generator 2017-11-05 13:46:28 +09:00
namespaced_generators_test.rb Use escaped character in regexp 2017-09-11 20:34:15 -04:00
orm_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
plugin_generator_test.rb Make Webpacker the default JavaScript compiler for Rails 6 (#33079) 2018-09-30 22:31:21 -07:00
plugin_test_helper.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
plugin_test_runner_test.rb Remove redundant passing --skip-active-storage in test cases 2017-11-08 21:39:35 +00:00
resource_generator_test.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
scaffold_controller_generator_test.rb rails new runs rails active_storage:install 2017-11-06 21:29:14 +00:00
scaffold_generator_test.rb Fix boolean interaction in scaffold system tests 2018-12-12 10:56:25 -05:00
shared_generator_tests.rb Module#{attr,attr_accessor,attr_reader,attr_writer} become public since Ruby 2.5 2018-12-21 02:05:27 +09:00
system_test_generator_test.rb Remove redundant suffixes on generated system tests. 2018-12-11 18:09:16 -05:00
task_generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
test_runner_in_engine_test.rb Show rails instead of bin/rails on USAGE instructions 2018-07-06 22:46:54 +02:00