1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/migration
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
..
change_schema_test.rb Migrations will raise an exception if there are multiple column definitions (same name). 2018-06-01 18:58:51 -03:00
change_table_test.rb Index option added for change_table migrations 2018-09-22 16:47:57 +02:00
column_attributes_test.rb Suppress warning: BigDecimal.new is deprecated in activerecord 2017-12-13 21:29:06 +00:00
column_positioning_test.rb add_reference should respect column position for both reference id and type columns 2017-09-01 21:49:28 +09:00
columns_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
command_recorder_test.rb Fix transaction reverting for migrations 2018-09-26 23:40:42 +03:00
compatibility_test.rb Fix transaction reverting for migrations 2018-09-26 23:40:42 +03:00
create_join_table_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
foreign_key_test.rb SQLite3: Fix rename reference column not to lose foreign key constraint 2018-08-20 02:27:14 +09:00
helper.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
index_test.rb More exercise test_remove_named_index 2018-05-02 04:16:15 +09:00
logger_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
pending_migrations_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
references_foreign_key_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
references_index_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
references_statements_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
rename_table_test.rb Remove usage of strip_heredoc in the framework in favor of <<~ 2018-02-16 19:28:30 -05:00