aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * just < 1.9 is fine and 1.9.1 is not supportedSantiago Pastorino2011-02-031-3/+3
| |
| * fix OrderedHash#each* methods to return Enumerators when called without a ↵Gabriel Horner2011-02-031-0/+6
| | | | | | | | | | | | block [#6366 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them public.John Firebaugh2011-02-031-13/+3
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Preserve fractional seconds in DateTime#to_timeJohn Firebaugh2011-02-031-0/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Fix tests providing valid JSONSantiago Pastorino2011-02-021-2/+2
| |
| * Fix JSON decoding of newline character with Yaml backend [#3479 state:resolved]Maxime RETY2011-02-021-1/+5
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * OrderedHash#each* methods return self like Hash does [#6364 state:resolved]Gabriel Horner2011-02-021-3/+3
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-312-2/+2
| | | | | | | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * make sure we play nicely when syck is activatedAaron Patterson2011-01-281-0/+22
| |
| * use ! " " YAML string literal syntax rather than removing both quotesAaron Patterson2011-01-211-3/+1
| |
| * prefering psych as the yaml parser if possible, fixing assertions for YAML ↵Aaron Patterson2011-01-211-2/+2
| | | | | | | | 1.1 compatibility
| * fixing psych support in big decimal, fixing tests to support YAML 1.1Aaron Patterson2011-01-211-4/+4
| |
| * ordering can change depending on ruby version, so parse the JSON and verify ↵Aaron Patterson2011-01-171-3/+10
| | | | | | | | data structure equality
| * Complex struct encoding testAlexey Nayden2011-01-151-0/+23
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Fixed various isolated test missing requires within AS.Josh Kalderimis2011-01-123-2/+6
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * adding to_d to BigDecimalAaron Patterson2011-01-101-1/+6
| |
| * added tests for XmlMini#to_tag.Nick Sutterer2011-01-061-42/+81
| |
| * make our yaml output consistentAaron Patterson2011-01-041-1/+1
| |
| * test that the custom ordered hash can be round-trippedAaron Patterson2011-01-041-0/+17
| |
| * use dots for method callsAaron Patterson2011-01-041-3/+8
| |
| * Fix Duration#to_jsonPratik Naik2010-12-291-0/+5
| |
| * while defining callbacks option :rescuable => trueNeeraj Singh2010-12-291-1/+30
| | | | | | | | | | | | | | can be passed. There were no tests for this case. This patch adds a test for :rescuable => true option.
| * Fix activesupport tests. These classes are not used anywherePiotr Sarnacki2010-12-221-12/+0
| |
| * Ensure that uncountable are removed after testPiotr Sarnacki2010-12-221-5/+6
| |
| * Added a word boundary to uncountable inflection regex for #singularize so ↵John Paul Ashenfelter2010-12-221-0/+27
| | | | | | | | short inflections like ors do not affect larger words like sponsors [#6093 state:resolved]
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-203-0/+14
|\| | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb
| * Only convert direct hash instances in hash with indifferent access.José Valim2010-11-261-0/+8
| |
| * Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
| |
| * class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-201-0/+5
| | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Add initial tests for WeakHash.Emilio Tagua2010-11-191-0/+33
|/
* removes orphan tests, custom String#% was removed from AS in 39d6f9eXavier Noria2010-11-191-69/+0
|
* Revert "Quick fix for not escaping []s (not ideal)"Santiago Pastorino2010-11-181-4/+4
| | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6..
* Add support for try to just yield the object to a block if no method is to ↵raggi2010-11-141-0/+10
| | | | be called. Kind of like a tap_if_present.
* HashWithIndifferentAccess should not change the subclass of an arrayLarry Sprock2010-11-141-0/+17
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-111-0/+15
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Added Hash#deep_dup function which performs deep duplication on given hashPiotr Sarnacki2010-11-021-0/+15
| |
* | Fix ActiveSupport::TimeWithZone#localtime method with DateTimeAlvaro Bautista2010-11-111-0/+11
| | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Remove unused methodSantiago Pastorino2010-11-101-31/+0
| |
* | Remove useless cgiDenis Odorcic2010-11-101-15/+0
| | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Test cache.key_file_path with separators ht. Jim Wilson [#5611]Santiago Pastorino2010-11-071-0/+5
| |
* | Fix FileStore cache incorrectly regenerating its key from a pathname when a ↵Denis Odorcic2010-11-071-0/+4
| | | | | | | | | | | | | | | | regexp is used in expire_fragment [#5850 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | OrderedHash#select now preserves order [#5843 state:resolved]James A. Rosen2010-11-071-0/+8
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵laserlemon2010-11-071-1/+14
| | | | | | | | | | | | sublclasses) and default value [#5724 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | add more tests surrounding camlize in xmlmini, refactor rename_key()Aaron Patterson2010-11-031-0/+12
| |
* | Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-032-3/+10
|/ | | | lower-camelcase tags [#5903 state:resolved]
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 ↵Rob Zolkos & Xavier Noria2010-10-163-0/+50
| | | | state:committed]
* Override #store to be consistent with #[].Andrea Campi2010-10-101-0/+10
| | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* calling correct method on minitest for test name when teardown callback failsAaron Patterson2010-10-041-0/+19
|
* [#5406 state:resolved] calling the correct method on minitest to obtain the ↵Aaron Patterson2010-10-041-0/+38
| | | | test name
* removing AS::Testing::Default in favor of just undefing default_testAaron Patterson2010-10-011-7/+0
|