1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/test
Koichi ITO 65af100ddd Tweak unreachable assertion tests in the block of assert_raises
I found an unexpected use of assertion in the block of `assert_raise`
when I implemented https://github.com/rubocop/rubocop-minitest/pull/137.
It is expected to be asserted after an exception is raised in
`assert_raise` block, but in actually it is not asserted after an
exception is raised. Therefore, this PR removes or updates assertions
that have not been asserted after an exception has raised.

This PR will add `rubocop-minitest` and enable
`Minitest/UnreachableAssertion` cop to able similar auto-detection,
but will remove `rubocop-minitest` from this PR if you don't like it.
2021-08-17 20:33:08 +09:00
..
controllers Use image/jpeg instead of non-standard image/jpg 2021-03-05 13:14:11 -05:00
dummy Stop trying to configure listen by default on compatible platforms (#42985) 2021-08-11 15:18:43 +02:00
fixtures/files Use image/jpeg instead of non-standard image/jpg 2021-03-05 13:14:11 -05:00
generators Module#const_set is a public method 2020-09-15 17:19:37 +09:00
jobs
unit Tweak unreachable assertion tests in the block of assert_raises 2021-08-17 20:33:08 +09:00
test_helper.rb Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00