aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/class/delegating_attributes_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Active support instead of ActiveSupport::Deprecation.silence we can use ↵Rajarshi Das2014-04-041-4/+4
| | | | assert_deprecated
* Deprecate Class#superclass_delegating_accessorAkshay Vishnoi2014-03-201-6/+28
|
* Prevent creation of instance methods when `instance_reader = false`, Grammar ↵Akshay Vishnoi2013-12-191-1/+4
| | | | checks, Conditional statements combined
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
|
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-4/+4
| | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove test ordering bugEvan Phoenix2010-03-221-8/+14
| | | | | Don't reuse classes with class attributes when testing different use cases of class attributes.
* Clear the attribute after doneYehuda Katz2010-02-161-0/+2
|
* superclass_delegating_accessor rewritten to serve as the base for many other ↵Yehuda Katz2010-01-291-34/+0
| | | | kinds of accessors (step 1 of unification)
* Allow :instance_reader to be given to superclass_delegating_accessor as well.José Valim2009-11-011-0/+7
|
* Explicitly require core extension under testJeremy Kemper2009-03-241-0/+1
|
* Add query methods for superclass_delegating_readerJeremy Kemper2008-03-311-4/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat. References #1689 [Pratik Naik]Jeremy Kemper2007-12-101-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add new superclass_delegating_accessors. Similar to class inheritable ↵Michael Koziarski2007-10-291-0/+105
attributes but with subtly different semantics. [Koz, tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de