1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test
Michael Grosser a9aed2ac94
improve error message when include assertions fail
assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message

assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
2016-09-16 12:03:37 -07:00
..
autoloading_fixtures normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
core_ext improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
dependencies normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
deprecation modernizes hash syntax in activesupport 2016-08-06 19:38:33 +02:00
file_fixtures
fixtures normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
json Add three new rubocop rules 2016-08-16 04:30:11 -03:00
notifications modernizes hash syntax in activesupport 2016-08-06 19:38:33 +02:00
testing applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
xml_mini Remove blank else branch 2016-09-03 13:42:14 +09:00
abstract_unit.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
array_inquirer_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
autoload_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
benchmarkable_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
broadcast_logger_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
caching_test.rb Merge pull request #25863 from mechanicles/remove-duplicate-test 2016-08-16 14:58:06 -03:00
callback_inheritance_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
callbacks_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
class_cache_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
clean_backtrace_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
clean_logger_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
concern_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
configurable_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
constantize_test_cases.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
dependencies_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
dependencies_test_helpers.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
deprecation_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
descendants_tracker_test_cases.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
descendants_tracker_with_autoloading_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
descendants_tracker_without_autoloading_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
evented_file_update_checker_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
executor_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
file_update_checker_shared_tests.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
file_update_checker_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
gzip_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
i18n_test.rb modernizes hash syntax in activesupport 2016-08-06 19:38:33 +02:00
inflector_test.rb Fix broken comments indentation caused by rubocop auto-correct [ci skip] 2016-09-14 18:26:32 +09:00
inflector_test_cases.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
key_generator_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
lazy_load_hooks_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
log_subscriber_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
logger_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
message_encryptor_test.rb Start passing cipher from EncryptedCookieJar since we use it to determine key length 2016-09-01 03:00:10 +05:30
message_verifier_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
multibyte_chars_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
multibyte_conformance_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
multibyte_grapheme_break_conformance_test.rb fixes remaining RuboCop issues [Vipul A M, Xavier Noria] 2016-09-01 23:41:49 +02:00
multibyte_normalization_conformance_test.rb fixes remaining RuboCop issues [Vipul A M, Xavier Noria] 2016-09-01 23:41:49 +02:00
multibyte_proxy_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
multibyte_test_helpers.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
multibyte_unicode_database_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
notifications_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
number_helper_i18n_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
number_helper_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
option_merger_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
ordered_hash_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
ordered_options_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
reloader_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
rescuable_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
safe_buffer_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
security_utils_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
share_lock_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
string_inquirer_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
subscriber_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
tagged_logging_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
test_case_test.rb use message that specified in argument to error message 2016-08-31 08:52:23 +09:00
time_travel_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
time_zone_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
time_zone_test_helpers.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
transliterate_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
xml_mini_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00