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
John Crepezzi df0de681dc Remove the multi-call form of assert_called_with
The `assert_called_with` helper allows passing a multi-dimensional array to
mock multiple calls to the same method for a given block. This works
fine now, but when adding support for real kwargs arguments to line up with
recent upgrades in Minitest, this approach is no longer workable because
we can't pass multiple sets of differing kwargs.

Rather than complicated this method further, this commit removes the
multi-call form of `assert_called_with` and modifies the tests that
currently make use of that functionality to just use the underlying
`Minitest::Mock` calls.

Co-authored-by: Eileen M. Uchitelle <eileencodes@gmail.com>
2022-06-16 11:13:57 -04:00
..
erb Allow Erubi bufvar to be configured 2020-05-21 15:22:51 -05:00
form_helper Remove the multi-call form of assert_called_with 2022-06-16 11:13:57 -04:00
testing Fix spelling in FixtureResolverTest 2021-04-13 10:46:09 -04:00
active_model_helper_test.rb Remove deprecated support concat errors to ActiveModel::Errors#messages 2021-11-17 21:51:25 +00:00
asset_tag_helper_test.rb Escape literal dot in regular expression 2022-05-05 14:08:43 -05: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
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 Remove the multi-call form of assert_called_with 2022-06-16 11:13:57 -04:00
date_helper_test.rb Fix a bug with time_select and prompts 2021-12-23 18:27:45 +01:00
dependency_tracker_test.rb Replaces the "hash rocket" operator in favor of the newer Ruby syntax when rendering on render 2021-10-03 23:33:56 -03: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 Add autocomplete="off" to all generated hidden fields (fixes #42610) 2021-09-21 15:57:56 -04:00
form_helper_test.rb Remove the multi-call form of assert_called_with 2022-06-16 11:13:57 -04:00
form_options_helper_i18n_test.rb
form_options_helper_test.rb Remove deprecated support concat errors to ActiveModel::Errors#messages 2021-11-17 21:51:25 +00:00
form_tag_helper_test.rb Support calls to #field_name with nil object_name 2022-06-15 18:51:20 +01: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 Fix rubocop issue of single- vs double- quotes (+1 squashed commit) 2021-12-13 16:48:53 +00: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
render_test.rb Fix did you mean tests for ruby-trunk (3.2) 2022-06-10 13:06:42 -04:00
resolver_shared_tests.rb Allow all available locales for template lookups. 2022-05-30 09:45:28 +02:00
sanitize_helper_test.rb Strings returned from strip_tags are correctly tagged html_safe? 2022-05-31 10:02:07 -04: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 Fix tag helper regression 2022-05-05 10:42:41 -04: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 Fix empty request inside helpers test 2022-02-09 08:47:27 +01:00
test_test.rb Replace ableist language 2021-10-05 22:27:09 -04:00
text_helper_test.rb Replace ableist language 2021-10-05 22:27:09 -04: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 Remove deprecated Rails.config.action_view.raise_on_missing_translations 2021-11-17 21:51:16 +00:00
url_helper_test.rb Merge PR #43157 2021-12-20 23:01:53 +00:00