rails/activesupport/test
Andrew White 3aa26cfb19 Improve ActiveSupport::TimeWithZone conversion to YAML
Previously when converting AS::TimeWithZone to YAML it would be output
as a UTC timestamp. Whilst this preserves the time information accurately
it loses the timezone information. This commit changes that so that it is
saved along with the time information. It also provides nicer encoding of
AS::TimeZone instances themselves which previously embedded all of the
data from the TZInfo records.

Fixes #9183.
2015-04-22 12:12:39 -04:00
..
autoloading_fixtures fixes circularity check in dependencies 2014-10-25 14:06:33 +02:00
core_ext Improve ActiveSupport::TimeWithZone conversion to YAML 2015-04-22 12:12:39 -04:00
dependencies Don't blindly call blame_file! on exceptions in ActiveSupport::Dependencies::Loadable 2013-06-09 18:20:10 -04:00
deprecation Remove deprecated AS::BasicObject, use AS::ProxyObject instead 2013-07-01 22:26:54 -03:00
file_fixtures introduce `ActiveSupport::Testing::FileFixtures`. 2015-01-28 12:29:34 +01:00
fixtures Unused classes in AS tests 2013-12-19 16:30:16 +09:00
json Skip the failing tests on Rubinius for now 2015-03-02 17:28:12 +01:00
notifications ActiveSupport::Notifications::Instrumenter#instrument should yield 2013-03-02 16:05:05 -08:00
testing introduce `ActiveSupport::Testing::FileFixtures`. 2015-01-28 12:29:34 +01:00
xml_mini Do not include Active Support on tests 2015-01-04 18:59:42 -03:00
abstract_unit.rb Revert "Leave all our tests as order_dependent! for now" 2015-03-06 04:38:54 +10:30
array_inquirer_test.rb Require the extensions to tests pass in isolation 2015-03-30 13:59:50 -03:00
autoload_test.rb fix autoload tests 2014-10-05 20:28:36 +03:00
benchmarkable_test.rb * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger 2011-12-19 18:41:37 -08:00
broadcast_logger_test.rb pushed broadcasting down to a module 2012-01-20 14:18:29 -08:00
caching_test.rb Allow AS::Cache::FileStore#clear without cache directory 2015-04-09 00:04:56 +09:00
callback_inheritance_test.rb Removed unused setup 2013-04-10 16:57:12 +05:30
callbacks_test.rb Raise ArgumentError if an unrecognised callback is skipped 2015-04-03 09:37:19 +01:00
class_cache_test.rb Rely solely on active_model_serializer and remove the fancy constant lookup. 2011-11-23 23:45:27 +00:00
clean_backtrace_test.rb missing activesupport test coverage 2014-07-19 17:15:40 -07:00
clean_logger_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
concern_test.rb Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 2015-01-31 23:12:41 -05:00
configurable_test.rb Privatize config_accessor as with attr_accessor 2015-02-06 01:12:07 +09:00
constantize_test_cases.rb Use `safe_constantize`. 2014-09-02 00:41:00 +08:00
dependencies_test.rb Do not depend on Rails git repository layout in ActiveSupport tests 2015-04-02 17:09:24 +02:00
dependencies_test_helpers.rb fixes circularity check in dependencies 2014-10-25 14:06:33 +02:00
deprecation_test.rb - Extracted silence_stream method to new module in activesupport/testing. 2015-01-20 22:28:48 +05:30
descendants_tracker_test_cases.rb fix assertions 2012-10-18 13:14:43 -07:00
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 Improve the test code for #8422 2013-10-24 20:14:30 -02:00
file_update_checker_test.rb Fix failing test in file update checker 2012-06-29 15:08:08 -03:00
gzip_test.rb added compress options for gzip 2013-02-10 20:01:42 +09:00
hash_with_indifferent_access_test.rb - Moved hwia frozen value assignment test to hash_ext_test similar to other tests 2015-01-17 14:55:19 +05:30
i18n_test.rb remove unnecessary calling of `I18n.backend.store_translations(empty, {})` 2014-06-15 08:53:58 +05:30
inflector_test.rb Replace Enumerable#reverse.each with Enumerable#reverse_each 2014-10-13 11:47:16 +01:00
inflector_test_cases.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
key_generator_test.rb missing activesupport test coverage 2014-07-19 17:15:40 -07:00
lazy_load_hooks_test.rb Ensure load hooks can be called more than once with different contexts. 2012-03-06 22:05:07 +01:00
load_paths_test.rb Drop extra variable from test 2013-06-12 11:18:35 +05:30
log_subscriber_test.rb Ensure blocks given to subscriber are properly yield 2012-05-17 08:52:40 +02:00
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 Remove "rescue" clause around "require 'openssl'" 2014-12-03 21:58:02 -08:00
message_verifier_test.rb Remove "rescue" clause around "require 'openssl'" 2014-12-03 21:58:02 -08:00
multibyte_chars_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
multibyte_conformance_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
multibyte_proxy_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
multibyte_test_helpers.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
multibyte_unicode_database_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
notifications_test.rb Bug fix: Evented notification subscribers can handle published events 2013-05-17 16:27:23 -07:00
number_helper_i18n_test.rb remove unnecessary calling of `I18n.backend.store_translations(empty, {})` 2014-06-15 08:53:58 +05:30
number_helper_test.rb `number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`. 2015-03-06 09:04:51 +01:00
option_merger_test.rb Add implicit receiver support to `Object#with_options` 2014-07-29 16:11:48 -04:00
ordered_hash_test.rb Fix OrderedHash.select to return self instance. 2014-03-07 12:30:20 -05:00
ordered_options_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
rescuable_test.rb Add class level case operator support for error dispatching in Rescuable 2014-12-10 02:34:59 +02:00
safe_buffer_test.rb Properly dump primitive-like AS::SafeBuffer strings as YAML 2015-02-11 17:08:13 -08:00
security_utils_test.rb Add AS::SecurityUtils.secure_compare for constant time string comparison 2014-10-23 14:54:06 -03:00
string_inquirer_test.rb Alias refute methods to assert_not and perfer assert_not on tests 2012-12-31 13:58:52 -03:00
subscriber_test.rb Fix assertion arguments order 2014-07-31 08:56:22 -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 Remove alias for `i_suck_and_my_tests_are_order_dependent`. 2015-03-24 00:27:53 +08:00
time_travel_test.rb Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now 2015-02-03 05:23:23 -08:00
time_zone_test.rb Improve ActiveSupport::TimeWithZone conversion to YAML 2015-04-22 12:12:39 -04:00
time_zone_test_helpers.rb Extract out with_env_tz helper method. 2014-06-18 19:46:04 +08:00
transliterate_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
xml_mini_test.rb Fixes wording of test description 2015-02-11 14:07:56 -05:00