rails/activesupport/test
Hrvoje Šimić 074265a6c1
Update assert_changes and assert_no_changes to use assert_equal
This provides better more specific diffs when comparing complex objects.

Reverts bbe437faecca5fd6bdc2327a4bc7a31ba21afe2e.

Closes #37507. Closes #38220.

Co-authored-by: michdsouza <michd2005@gmail.com>
Co-authored-by: Rahul Purohit <rahulpuroht@gmail.com>
Co-authored-by: Nicholas Koh <nkohwl@gmail.com>
2020-02-17 01:30:50 +01:00
..
autoloading_fixtures Fix safe_constantize to not raise a LoadError. 2019-01-09 14:52:46 -05:00
cache Duplicate the cached value before writing it in the local cache 2019-10-29 17:04:45 +01:00
concurrency
core_ext Remove any precision problem by comparing the float values 2019-09-30 23:20:22 -04:00
dependencies Improve the logic that detects non-autoloaded constants 2018-10-28 16:34:50 +01:00
deprecation Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
file_fixtures
fixtures Do nothing when the same block is included again. 2018-11-29 18:37:06 +00:00
json Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
messages
metadata Remove redundant travel_back 2018-08-31 16:19:58 +09:00
notifications Update AS::Notifications::Instrumenter#instrument 2019-03-22 10:01:18 -04:00
testing assert_called_with should require args argument 2018-10-25 21:29:39 +03:00
xml_mini Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
abstract_unit.rb Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
actionable_error_test.rb Refactor after the most recent code review 2019-04-19 14:15:41 +09:00
array_inquirer_test.rb
autoload_test.rb
benchmarkable_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
broadcast_logger_test.rb Merge pull request #34055 from Edouard-chin/ec-logger-fix 2018-10-03 16:45:53 -04:00
callback_inheritance_test.rb
callbacks_test.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
class_cache_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
clean_backtrace_test.rb Use backtrace cleaner to clean up backtrace for verbose query logs 2018-08-14 09:15:28 +10:00
clean_logger_test.rb
concern_test.rb Do nothing when the same block is included again. 2018-11-29 18:37:06 +00:00
configurable_test.rb
constantize_test_cases.rb Fix safe_constantize to not raise a LoadError. 2019-01-09 14:52:46 -05:00
current_attributes_test.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
dependencies_test_helpers.rb
dependencies_test.rb let autoloaded? support modules with overridden names [closes #36757] 2019-07-25 23:14:29 +02:00
deprecation_test.rb subscribe block doesn't take keyword arguments 2019-09-03 17:48:40 +09:00
descendants_tracker_test_cases.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
descendants_tracker_with_autoloading_test.rb
descendants_tracker_without_autoloading_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
digest_test.rb
encrypted_configuration_test.rb Bugfix: ActiveSupport::EncryptedConfiguration reading of comment-only encrypted files (#34014) 2018-10-05 08:06:33 +09:00
encrypted_file_test.rb Keep symbolic link after editing credentials.yml.enc 2019-10-17 04:07:24 +02:00
evented_file_update_checker_test.rb Skip test is all Ruby implementations that don't support fork 2019-09-26 18:27:00 -04:00
executor_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
file_update_checker_shared_tests.rb Lazily evaluate FileUpdateCheckerSharedTests when being included 2019-08-02 06:21:14 +09:00
file_update_checker_test.rb
fork_tracker_test.rb fix(fork-tracker): Only patch fork if it's supported 2019-10-06 23:41:37 +02:00
gzip_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
hash_with_indifferent_access_test.rb Support multiple arguments in HashWithIndifferentAccess for merge and update methods 2019-08-07 20:41:07 +02:00
i18n_test.rb
inflector_test_cases.rb Fix titleize to work with parentheses (#37029) 2019-08-24 03:10:47 +02:00
inflector_test.rb Fix bug with parametrize when locale is passed 2019-03-12 01:48:21 +05:30
key_generator_test.rb Remove unused requires 2018-08-17 12:51:14 +09:00
lazy_load_hooks_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
log_subscriber_test.rb cpu_time and allocations are 0 when JRuby is used 2018-07-30 15:10:30 +00:00
logger_test.rb Add ActionController::Base.log_at 2019-09-24 13:47:34 -04:00
message_encryptor_test.rb Fix Class#new + keyword arguments warnings 2019-09-09 01:02:39 +09:00
message_verifier_test.rb Fix Messages::Metadata#fresh? to handle parse_json_times = true 2019-10-19 00:25:35 +02:00
multibyte_chars_test.rb Add AS::Multibyte::Chars#match? 2019-07-29 14:17:36 +09:00
multibyte_conformance_test.rb Deprecate Unicode#normalize and Chars#normalize (#34202) 2018-10-12 08:40:29 -07:00
multibyte_grapheme_break_conformance_test.rb Deprecate Unicode's #pack_graphemes and #unpack_graphemes methods 2018-10-18 14:10:30 -07:00
multibyte_normalization_conformance_test.rb Deprecate Unicode#normalize and Chars#normalize (#34202) 2018-10-12 08:40:29 -07:00
multibyte_proxy_test.rb
multibyte_test_helpers.rb require open-uri where opening URI 2019-09-13 17:22:16 +09:00
notifications_test.rb Merge pull request #36318 from itsWill/fix_event_object_payload 2019-07-25 16:47:03 -04:00
number_helper_i18n_test.rb
number_helper_test.rb
option_merger_test.rb Tests for OptionMerger with keyword arguments 2019-09-13 18:11:22 +09:00
ordered_hash_test.rb
ordered_options_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
parameter_filter_test.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
reloader_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
rescuable_test.rb
safe_buffer_test.rb Enumerator should be supported by ActiveSupport::SafeBuffer 2019-10-17 22:51:09 +09:00
secure_compare_rotator_test.rb Use correct variable in secure_compare! 2019-07-26 12:51:53 +09:00
security_utils_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
share_lock_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
silence_logger_test.rb Don't use deprecated LoggerSilence 2018-10-04 08:23:49 +09:00
string_inquirer_test.rb
subscriber_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
tagged_logging_test.rb Merge pull request #27792 from tjoyal/sandbox-tagged-logging 2018-09-11 19:33:59 -04:00
test_case_test.rb Update assert_changes and assert_no_changes to use assert_equal 2020-02-17 01:30:50 +01:00
time_travel_test.rb ActiveSupport typo fixes. 2019-02-01 22:17:10 +05:30
time_zone_test_helpers.rb
time_zone_test.rb Revert "Use assert_match / assert_no_match for asserting match" 2019-07-29 14:17:36 +09:00
transliterate_test.rb Prevent error on transliterate with frozen strings. 2019-07-31 12:11:31 -04:00
xml_mini_test.rb Missing require AS/core_ext/date/conversions 2019-08-02 13:18:01 +09:00
zeitwerk_inflector_test.rb Fix typo s/precendence/precedence/ 2019-10-13 17:55:39 +09:00