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 a56b150b64 Adjust for daylight savings in String#to_time
The changes in b79adc4323 had a bug where if the time in the String
was in standard time but the current time was in daylight savings then
the calculated adjustment was off by an hour.

This commit fixes this and adds extra tests for the following:

* time in string is standard time, current time is standard time
* time in string is standard time, current time is daylight savings
* time in string is daylight savings, current time is standard time
* time in string is daylight savings, current time is daylight savings

Fixes #10306.
2013-04-23 12:48:31 +01:00
..
autoloading_fixtures dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213] 2012-11-15 04:36:36 +01:00
core_ext Adjust for daylight savings in String#to_time 2013-04-23 12:48:31 +01:00
dependencies
deprecation deprecation warning when BufferedLogger is instantiated 2012-12-25 20:21:14 +01:00
fixtures JDOM XXE Protection [CVE-2013-1856] 2013-03-15 17:46:15 -07:00
json rewrite order dependent test case. #8185 2012-12-27 17:28:42 +01:00
notifications ActiveSupport::Notifications::Instrumenter#instrument should yield 2013-03-02 16:05:05 -08:00
testing determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn] 2013-03-28 10:04:39 +01:00
xml_mini Added missing assert 2013-04-02 11:50:25 +05:30
abstract_unit.rb Set Thread.abort_on_exception for the whole AS, AP, and AR tests 2013-01-24 20:00:45 +09:00
autoload_test.rb
benchmarkable_test.rb
broadcast_logger_test.rb
caching_test.rb switch (and lazily convert) ivar names to 3.x 2013-04-16 13:18:52 -04:00
callback_inheritance_test.rb Removed unused setup 2013-04-10 16:57:12 +05:30
callbacks_test.rb Fixes skipping object callback filters 2013-04-04 16:11:13 -07:00
class_cache_test.rb
clean_backtrace_test.rb
clean_logger_test.rb
concern_test.rb
configurable_test.rb minor grammar fix 2012-12-24 15:20:05 -06:00
constantize_test_cases.rb
dependencies_test.rb Merge pull request #9681 from vipulnsward/fix_typo_in_module_name 2013-03-12 03:55:30 -07:00
dependencies_test_helpers.rb Fix typo in DependenciesTestHelpers module name 2013-03-12 10:33:32 +05:30
deprecation_test.rb Test that DeprecatedConstantProxy does not warn when accessing its class 2013-01-23 13:29:40 +09:00
descendants_tracker_test_cases.rb
descendants_tracker_with_autoloading_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
descendants_tracker_without_autoloading_test.rb
empty_bool.rb
file_update_checker_test.rb
gzip_test.rb added compress options for gzip 2013-02-10 20:01:42 +09:00
i18n_test.rb Fix failing test about date.order translation values 2013-01-19 19:32:33 -02:00
inflector_test.rb Revert "Merge pull request #10158 from steveklabnik/issue_10125" 2013-04-10 12:44:39 -03:00
inflector_test_cases.rb Inflector irregular singularize rules 2013-01-01 12:50:00 +01:00
key_generator_test.rb
lazy_load_hooks_test.rb
load_paths_test.rb
log_subscriber_test.rb
logger_test.rb Add ActiveSupport::Logger#silence that works the same as the old Logger#silence extension 2012-12-21 19:15:36 +01:00
message_encryptor_test.rb s/messqage/message/ in message_encryptor_test.rb 2013-01-09 13:32:35 -08:00
message_verifier_test.rb
multibyte_chars_test.rb ensure original encoding doesnt change 2012-12-01 15:41:06 -05:00
multibyte_conformance.rb
multibyte_test_helpers.rb
multibyte_unicode_database_test.rb
notifications_test.rb ActiveSupport::Notifications::Instrumenter#instrument should yield 2013-03-02 16:05:05 -08:00
number_helper_i18n_test.rb
number_helper_test.rb Move number_to_human test from AP to AS 2013-02-22 19:44:50 -03:00
option_merger_test.rb
ordered_hash_test.rb refactor order hash test 2013-04-11 21:55:45 +05:30
ordered_options_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
rescuable_test.rb Test that rescue_from accepts a class name in String 2013-01-23 13:29:40 +09:00
safe_buffer_test.rb
string_inquirer_test.rb Alias refute methods to assert_not and perfer assert_not on tests 2012-12-31 13:58:52 -03:00
tagged_logging_test.rb Revert "make new rails apps log to STDOUT" 2013-03-15 10:38:00 -07:00
test_case_test.rb Properly deprecate #pending from AS::TestCase 2012-11-18 21:34:00 -02:00
test_test.rb deprecate assert_blank and assert_present. 2013-01-05 18:04:52 +01:00
time_zone_test.rb Add regression tests for #9678 2013-03-13 05:46:34 +00:00
transliterate_test.rb fix repeat of test; remove unused variable by use of each_key 2013-03-18 19:58:02 +05:30
ts_isolated.rb Add active_support/testing/autorun 2012-12-31 13:57:24 -03:00
xml_mini_test.rb Make XmlMini.with_backend usable with threads 2012-11-15 20:23:05 +04:00