1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/template
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
..
erb Allow Erubi bufvar to be configured 2020-05-21 15:22:51 -05:00
form_helper Stop checking if ruby2_keywords is defined 2021-04-11 13:42:02 +02:00
testing Fix spelling in FixtureResolverTest 2021-04-13 10:46:09 -04:00
active_model_helper_test.rb Raise deprecation for calling [:f] = 'b' or [:f] << 'b' 2019-03-31 22:59:12 +08:00
asset_tag_helper_test.rb Update resolve_link_as to include SVG (#42892) 2021-07-28 16:26:55 -04:00
atom_feed_helper_test.rb feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
capture_helper_test.rb Restore implicit to_s for content_for and provide 2021-05-07 12:14:39 -04:00
compiled_templates_test.rb Remove FallbackFileSystemResolver 2021-04-06 14:20:48 -07:00
controller_helper_test.rb Merge pull request #29897 from kirs/frozen-actionview 2017-07-24 15:54:08 -04:00
csp_helper_test.rb Allow to pass options to csp_meta_tag 2019-02-16 09:36:37 +09:00
csrf_helper_test.rb form_authenticity_token takes keyword arguments 2019-09-15 03:05:52 +09:00
date_helper_i18n_test.rb This test needs integer core ext for time 2019-08-02 01:16:50 -04:00
date_helper_test.rb Add label attribute to <option> from include_blank 2020-07-24 15:45:18 -05:00
dependency_tracker_test.rb Move dependency tracker tests shared examples 2021-08-08 15:01:15 +01:00
digestor_test.rb Replace map + compact with filter_map 2021-04-22 22:08:34 -03:00
erb_util_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
file_system_resolver_test.rb Add tests against resolver 2019-04-11 17:09:00 -07:00
form_collections_helper_test.rb Fix unique DOM IDs for collection inputs 2019-01-25 10:04:23 -08:00
form_helper_test.rb Merge pull request #41728 2021-07-29 01:11:59 +00:00
form_options_helper_i18n_test.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
form_options_helper_test.rb Add weekday_options_for_select method 2021-08-16 13:04:33 -04:00
form_tag_helper_test.rb Merge pull request #40168 from igor04/disable_with_and_automatically_disable_submit_tag 2020-12-09 13:38:44 -05:00
html_test.rb Raise exception when building invalid mime type 2019-03-14 11:33:48 -07:00
javascript_helper_test.rb Add spell checking with codespell as a GitHub Action 2021-05-04 14:46:21 +10:00
log_subscriber_test.rb Make the arguments of ActionView::Base#initialize required 2020-10-30 00:25:24 +00:00
lookup_context_test.rb Avoid splats in LookupContext and PathSet 2021-07-13 17:49:15 -07:00
number_helper_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
output_safety_helper_test.rb chore: fix grammar and spelling 2021-04-15 16:57:01 +10:00
partial_iteration_test.rb fix require 2020-02-27 14:12:09 -08:00
record_identifier_test.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
render_test.rb Tweak unreachable assertion tests in the block of assert_raises 2021-08-17 20:33:08 +09:00
resolver_cache_test.rb Resolve wildcards depends using all_template_paths 2021-04-13 15:04:17 -07:00
resolver_shared_tests.rb Remove support for templates with "." 2021-04-14 11:27:11 -07:00
sanitize_helper_test.rb chore: fix grammar and spelling 2021-04-15 16:57:01 +10:00
streaming_render_test.rb Remove deprecated support to passing relative paths to render file: 2020-10-30 00:25:14 +00:00
tag_helper_test.rb Escape HTML attributes for ERB interpolation (#40657) 2020-11-28 11:01:15 +01:00
template_error_test.rb Empty array instead of nil for source_extract 2019-07-14 15:04:25 -04:00
template_path_test.rb Add missing slash to test_parse_root_partial_with_slash 2021-05-12 06:24:08 +09:00
template_test.rb Revert "Remove redundant @virtual_path variable" 2020-12-30 14:07:09 +01:00
test_case_test.rb Return "test" as the controller_name in ActionView tests 2021-06-07 15:52:08 -07:00
test_test.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
text_helper_test.rb Passing in a Hash instance as kwargs parameters requires the "double splat" prefix 2019-09-05 13:26:58 +09:00
text_test.rb [ci skip] Renamed formats -> format in test after #35406 2019-02-26 08:35:15 +05:30
translation_helper_test.rb Pass default values for translate through I18n 2021-04-30 09:25:41 -05:00
url_helper_test.rb Fix current_page? when URL has trailing slash 2021-07-23 17:03:45 -05:00