rails--rails/actionview/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
..
actionpack Setup the once autoloader on bootstrap 2021-08-17 05:23:51 +02:00
activerecord Revert "Extract methods `assert_queries` and `assert_no_queries`" 2021-06-17 13:35:25 -04:00
fixtures Merge pull request #42458 from HParker/use-ripper-dependency-tracker 2021-08-04 11:10:13 -07:00
lib Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
template Tweak unreachable assertion tests in the block of `assert_raises` 2021-08-17 20:33:08 +09:00
ujs Fix spelling in CoffeeScript and JavaScript files [ci skip] 2021-05-05 11:08:33 +10:00
abstract_unit.rb Delete AS::Dependencies.unhook! 2021-08-17 05:18:22 +02:00
active_record_unit.rb Module#const_set is a public method 2020-09-15 17:19:37 +09:00