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
Andrew White b5af751508 Update DateTime#change to support usec and nsec
Adding support for these options now allows us to update the
`DateTime#end_of` methods to match the equivalent `Time#end_of`
methods, e.g:

    datetime = DateTime.now.end_of_day
    datetime.nsec == 999999999 # => true

Fixes #21424.
2017-03-02 06:02:41 +00:00
..
autoloading_fixtures Correct spelling 2017-02-05 19:00:18 -06:00
core_ext Update DateTime#change to support usec and nsec 2017-03-02 06:02:41 +00: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 missing requires 2017-02-22 13:25:44 +00:00
notifications Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
testing applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
xml_mini ✂️ needless lines beneath private. 2016-11-20 17:58:36 +01:00
abstract_unit.rb Don't pollute Object with rubinius_skip and jruby_skip 2017-01-17 18:51:50 +09:00
array_inquirer_test.rb It would be safer not to totally undef core classes' respond_to_missing? 2017-01-15 04:42:03 +09: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 Merge pull request #26874 from tgxworld/fix_broadcast_logger 2016-11-25 15:57:50 +10:30
caching_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
callback_inheritance_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
callbacks_test.rb Remove deprecated behavior that halts callbacks when the return is false 2017-02-07 12:19:37 -03:00
class_cache_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09: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 use public Module#include instead of send :include 2016-11-27 22:20:52 +09:00
configurable_test.rb improve error message when include assertions fail 2016-09-16 12:03:37 -07:00
constantize_test_cases.rb Fix constantize edge case involving prepend, autoloading and name conflicts 2016-12-14 14:25:43 +01:00
dependencies_test.rb Add Style/EmptyLinesAroundMethodBody in .rubocop.yml and remove extra empty lines 2017-02-12 20:44:15 +09:00
dependencies_test_helpers.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
deprecation_test.rb Change ActionView ERB Handler from Erubis to Erubi 2017-01-25 01:41:27 -07:00
descendants_tracker_test_cases.rb Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09: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 Correct spelling 2017-02-05 19:00:18 -06:00
executor_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
file_update_checker_shared_tests.rb remove unused variable 2017-02-01 08:20:13 +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 Add missing gzip footer check in ActiveSupport::Gzip.decompress 2017-02-24 17:33:36 -05:00
i18n_test.rb modernizes hash syntax in activesupport 2016-08-06 19:38:33 +02:00
inflector_test.rb This seems to be working on JRuby 9K 2017-01-25 18:27:52 +09:00
inflector_test_cases.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -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 Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
message_verifier_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
multibyte_chars_test.rb Add Style/EmptyLinesAroundMethodBody in .rubocop.yml and remove extra empty lines 2017-02-12 20:44:15 +09:00
multibyte_conformance_test.rb Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09:00
multibyte_grapheme_break_conformance_test.rb Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09:00
multibyte_normalization_conformance_test.rb Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09: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 Update Unicode Version to 9.0.0 2017-01-28 16:57:36 +09: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 Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09:00
number_helper_i18n_test.rb Missing require 'active_support/core_ext/hash/keys' 2017-01-29 08:41:06 +09:00
number_helper_test.rb Remove deprecated :prefix option 2016-11-13 23:09:03 +00:00
option_merger_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
ordered_hash_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
ordered_options_test.rb applies new string literal convention in activesupport/test 2016-08-06 18:10:53 +02:00
reloader_test.rb Remove deprecated callbacks from ActionDispatch middlewares 2017-01-31 15:52:12 -05:00
rescuable_test.rb Call fallback exception handlers with the right exception 2016-11-17 14:50:41 -05:00
safe_buffer_test.rb "Use assert_nil if expecting nil from ...:in `...'. This will fail in minitest 6." 2016-12-25 13:15:56 +09:00
security_utils_test.rb Add test for variable_size_secure_compare 2017-01-31 20:41:14 +09:00
share_lock_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
string_inquirer_test.rb Should do nothing here 2017-01-16 12:33:37 +09: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 Privatize unneededly protected methods in Active Support tests 2016-12-24 00:22:29 +09:00
time_travel_test.rb correctly check error message 2017-01-25 09:58:15 +09:00
time_zone_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09: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 Raise ArgumentError if attempting to transliterate anything that is not a string 2017-01-16 14:40:41 -05:00
xml_mini_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00