aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Reset ActiveSupport::Dependencies.mechanism to make tests order independentAkira Matsuda2014-08-131-6/+10
* Duplicated method in the test helperAkira Matsuda2014-08-131-7/+0
* Fix a bug where NameError#name returns a qualified name in stringYuki Nishijima2014-06-241-3/+3
* Add regression test for NameError#nameArthur Neves2014-06-201-1/+4
* Fixed an issue where reloading of removed dependencies would cause an unexpec...Noah Lindner2014-02-081-0/+12
* Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-28/+16
* Fix asserting the correct exception message in dependencies testCarlos Antonio da Silva2013-12-191-2/+2
* better error message for constants autoloaded from anonymous modules [fixes #...Xavier Noria2013-12-061-17/+9
* Merge pull request #12412 from bf4/allow_pathname_for_require_dependencyXavier Noria2013-09-301-0/+11
|\
| * require_dependency should allow Pathname-like objects, not just StringBenjamin Fleischer2013-09-301-0/+11
* | Ensure all-caps nested consts marked as autoloadedSimon Coffey2013-08-271-0/+8
* | Don't blindly call blame_file! on exceptions in ActiveSupport::Dependencies::...Andrew Kreiling2013-06-091-0/+8
|/
* remove redundant varVipul A M2013-05-091-1/+0
* Merge pull request #9681 from vipulnsward/fix_typo_in_module_nameCarlos Antonio da Silva2013-03-121-2/+2
|\
| * Fix typo in DependenciesTestHelpers module nameVipul A M2013-03-121-2/+2
* | Cleanup tests for unused variablesVipul A M2013-03-111-1/+1
|/
* Remove unnecessary begin..rescue..end, use only rescueAkira Matsuda2013-01-061-6/+4
* silences "possibly useless use of :: in void context" warningsXavier Noria2012-12-241-7/+3
* silence warning: possibly useless use of a constant in void contextkennyj2012-12-061-3/+7
* Patched Marshal#load to work with constant autoloading (active_support/depend...Uriel Katz2012-12-011-19/+2
* prevent Dependencies#remove_const from autoloading parents [fixes #8301]Xavier Noria2012-11-281-0/+10
* let remove_constant still delete Kernel#autoload constants [rounds #8213]Xavier Noria2012-11-151-2/+2
* dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213]Xavier Noria2012-11-151-0/+10
* Fix some assert_raise calls containing messages in Active SupportCarlos Antonio da Silva2012-10-281-1/+2
* detect circular constant autoloadingXavier Noria2012-08-281-0/+6
* Fix ActiveSupport tests that depend on run orderFrancesco Rodriguez2012-08-231-0/+2
* raise the same exception in order to keep path infoAaron Patterson2012-06-121-0/+13
* removes the obsolete require_association method from dependenciesXavier Noria2012-06-101-4/+0
* use AS::TestCase as the base classAaron Patterson2012-01-051-2/+2
* Simplify load and require testsSam Umbach2011-12-031-4/+4
* Test that require and load raise LoadError if file not foundSam Umbach2011-12-031-0/+16
* Test return value of ActiveSupport::Dependencies::Loadable#loadSam Umbach2011-12-031-0/+16
* Test return value of ActiveSupport::Dependencies::Loadable#requireSam Umbach2011-12-031-0/+47
* Fix autoload_once_paths when using Pathnames & ruby 1.9Jonathan del Strother2011-08-241-0/+18
* Removing extra requires from the test. Already loaded in abstract_unit.Arun Agrawal2011-07-311-1/+0
* Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-1/+1
* Fix failing tests.José Valim2011-05-221-0/+2
* adding deprecation noticies to deprecated class cache methodsAaron Patterson2011-03-021-4/+4
* adding backwards compat for class cache references. <3<3Aaron Patterson2011-03-021-3/+3
* refactor Reference to a ClassCache object, fix lazy lookup in Middleware so t...Aaron Patterson2011-03-011-3/+3
* Add before_remove_const callback to ActiveSupport::Dependencies.remove_unload...Andrew White2010-09-011-0/+11
* Sadly, this segv's in 1.8 :(wycats2010-08-171-5/+5
* This is for making sure const_missing is triggered without warningsSantiago Pastorino2010-07-261-4/+6
* Fix a bug where requires inside of autoloads were being added to the autoload...wycats2010-07-261-0/+49
* Removes unused varsSantiago Pastorino2010-07-241-2/+0
* Makes restore previosly saved warnings_on_first_load value and avoid warningSantiago Pastorino2010-07-241-0/+1
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-241-18/+18
* ActiveSupport::Dependencies.constantize shortcut for caching named constant l...Jeremy Kemper2010-06-051-0/+6
* Optimize LookupContextwycats2010-06-041-0/+15
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-1/+1