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/core_ext
José Valim a5dda97602 Define a convention for descendants and subclasses.
The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children.

By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
2010-07-05 13:01:27 +02:00
..
class Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
module Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
object
array_ext_test.rb removes Array#random_element and backports Array#sample from Ruby 1.9, thanks to Marc-Andre Lafortune 2010-06-05 01:15:17 +02:00
base64_ext_test.rb
bigdecimal.rb
blank_test.rb avoid method redefined; discarding old empty? warning [#4302 state:committed] 2010-03-30 16:59:48 -07:00
cgi_ext_test.rb
class_test.rb Define a convention for descendants and subclasses. 2010-07-05 13:01:27 +02:00
date_ext_test.rb Date#since, #ago, #beginning_of_day, #end_of_day, #xmlschema return TimeWithZone when Time.zone_default is set 2010-06-12 00:19:12 +02:00
date_time_ext_test.rb fix conditions when DateTime#to_date and DateTime#xmlschema methods are defined 2010-06-04 22:44:03 +03:00
duplicable_test.rb
duration_test.rb 1.day should respond_to kind_of too 2010-05-21 16:00:55 +02:00
enumerable_test.rb
file_test.rb Fix streaming by having it create a File object, which can be handled by Rack servers as appropriate 2010-02-23 15:37:17 -08:00
float_ext_test.rb
hash_ext_test.rb Remove String#constantize deps 2010-06-11 10:33:43 -07:00
integer_ext_test.rb Let Integer#multiple_of? accept zero as argument 2010-01-02 20:25:15 -08:00
kernel_test.rb moves Object#singleton_class to Kernel#singleton_class to match Ruby also there, same for #class_eval to simplify, and adds coverage for class_eval 2010-04-05 12:15:08 -07:00
load_error_test.rb Stop overriding LoadError.new to return a MissingSourceError (and sometimes nil!) 2010-01-19 22:35:26 -08:00
module_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
name_error_test.rb
numeric_ext_test.rb
object_and_class_ext_test.rb Define a convention for descendants and subclasses. 2010-07-05 13:01:27 +02:00
proc_test.rb
range_ext_test.rb
regexp_ext_test.rb
string_ext_test.rb Added getbyte as a core_ext to Ruby < 1.9 2010-06-27 20:30:24 +02:00
time_ext_test.rb removes deprecations of last_(month|year) from master, they will be deprecated in 2.3 instead 2010-05-19 00:20:10 +02:00
time_with_zone_test.rb Don't store incorrect values in zones_map 2010-06-28 19:35:33 +02:00
uri_ext_test.rb Use explicit source encoding rather than forced UTF-8 from US-ASCII. 2010-04-26 14:45:23 -07:00