1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/test
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
..
analyzer Move #extract_metadata_from to ActiveStorage's TestHelper 2018-04-25 15:28:30 -05:00
controllers text is treated as attachment 2018-11-28 10:35:57 +09:00
database Refactor migration to move migrations paths to connection 2018-01-18 08:55:03 -05:00
dummy Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
fixtures/files Fix zero-byte files upload 2018-09-06 20:04:21 -03:00
jobs Remove superfluous test 2018-08-19 01:10:50 -04:00
models Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
previewer Change video preview format from PNG to JPG 2018-05-23 14:32:34 -04:00
service Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
template Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
test_helper.rb use "minitest" consistently 2018-09-11 23:57:25 +02:00