rails/activesupport/test
Charles Jones b8837066dc Fix deletion of empty directories:
1. When comparing the directory to delete against the top level
   cache_path, use File.realpath to make sure we aren't comparing two
   unequal strings that point to the same path. This occurs, for
   example, when cache_path has a trailing slash, which it does in the
   default Rails configuration. Since the input to
   delete_empty_directories never has a trailing slash, the comparison
   will never be true and the top level cache directory (and above) may
   be deleted. However…

2. File.delete raises EPERM when trying to delete a directory, so no
   directories have ever been deleted. Changing the code to Dir.delete
   fixes that.
2013-02-25 18:54:44 -06:00
..
autoloading_fixtures dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213] 2012-11-15 04:36:36 +01:00
core_ext Keep second fraction when DateTime#change is called. 2013-02-25 11:05:49 +01:00
dependencies Checkin failing test case related to load once paths 2006-12-24 14:41:29 +00:00
deprecation deprecation warning when BufferedLogger is instantiated 2012-12-25 20:21:14 +01:00
fixtures deOMGifying Railties, Active Support, and Action Pack 2010-01-31 09:46:30 -08:00
json rewrite order dependent test case. #8185 2012-12-27 17:28:42 +01:00
notifications adding start / finish on the instrumenter, adding tests for the class 2013-01-09 15:34:58 -08:00
testing extract PerformanceTest into rails-performance_tests gem 2013-01-10 17:09:06 +01:00
xml_mini Only call MiniTest.autorun if the dependecy is present 2012-12-31 16:25:07 -03:00
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 Make ActiveSupport::Autoload local 2012-08-21 14:46:12 -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 Fix deletion of empty directories: 2013-02-25 18:54:44 -06:00
callback_inheritance_test.rb AS::Callbacks#run_callbacks remove key argument 2012-05-10 02:21:03 -05:00
callbacks_test.rb Prevent callback from being set twice. 2012-12-20 11:06:45 +02: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 Remove extra test case. 2012-06-19 11:56:16 -06:00
clean_logger_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
concern_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
configurable_test.rb minor grammar fix 2012-12-24 15:20:05 -06:00
constantize_test_cases.rb cleaning up constantize tests 2012-11-07 17:13:17 +09:00
dependecies_test_helpers.rb Patched Marshal#load to work with constant autoloading (active_support/dependecies.rb) (issue #8167) 2012-12-01 14:00:16 +02:00
dependencies_test.rb Remove unnecessary begin..rescue..end, use only rescue 2013-01-06 15:41:14 +09:00
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 fix assertions 2012-10-18 13:14:43 -07:00
descendants_tracker_with_autoloading_test.rb Make DescendantsTracker thread safe and optimize the #descendants method. 2012-10-18 12:08:01 -07:00
descendants_tracker_without_autoloading_test.rb removing unnecessary requires 2012-01-06 14:43:04 -08:00
empty_bool.rb avoid method redefined; discarding old empty? warning [#4302 state:committed] 2010-03-30 16:59:48 -07: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
i18n_test.rb Fix failing test about date.order translation values 2013-01-19 19:32:33 -02:00
inflector_test_cases.rb Inflector irregular singularize rules 2013-01-01 12:50:00 +01:00
inflector_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
key_generator_test.rb Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 2012-10-01 14:22:19 +13: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 use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
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 s/messqage/message/ in message_encryptor_test.rb 2013-01-09 13:32:35 -08:00
message_verifier_test.rb Remove deprecations from Active Support. 2011-12-20 15:18:42 +01:00
multibyte_chars_test.rb ensure original encoding doesnt change 2012-12-01 15:41:06 -05:00
multibyte_conformance.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
multibyte_test_helpers.rb remove checks for encodings availability 2011-12-25 14:34:58 +03:00
multibyte_unicode_database_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
notifications_test.rb make events not use date and time to determine parent_of. fixes #5932 2012-06-18 16:34:23 -07:00
number_helper_i18n_test.rb Ensure I18n format values always have precedence over defaults 2012-08-11 00:20:19 -03:00
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 use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
ordered_hash_test.rb Missing require extract_options 2013-01-31 15:56:47 +09:00
ordered_options_test.rb Use respond_to_missing? for OrderedOptions 2012-05-05 02:43:41 -04:00
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 Ensure [] respects the status of the buffer. 2012-02-29 16:09:02 -08: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
tagged_logging_test.rb Allow wrapping a logger that hasn't set a formatter. Default to our SimpleFormatter. Otherwise we try extending nil with the tagging API. 2012-09-26 11:17:02 -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 Only take the date parts from Time.zone.now 2012-12-01 21:05:42 +00:00
transliterate_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
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