aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-75/+75
* tests the raising/throwing discards the watching stackXavier Noria2016-03-161-4/+6
* s/removes/discards/Xavier Noria2016-03-161-2/+2
* adds coverage for raising while autoloadingXavier Noria2016-03-161-0/+9
* adds coverage for throwing while autoloadingXavier Noria2016-03-151-0/+11
* Dependencies clean upSruli Rapps2016-02-191-10/+3
* Removed use of mocha in active_supportRonak Jangir2015-07-101-5/+6
* Avoid E constant clashing with Minitest defined version.Kasper Timm Hansen2015-05-221-15/+15
* Do not depend on Rails git repository layout in ActiveSupport testsJosef Stribny2015-04-021-2/+2
* Remove LoadError#path hack for Ruby 1.9claudiob2015-01-041-2/+0
* Merge pull request #8740 from amatsuda/missing_source_fileRafael Mendonça França2015-01-021-2/+2
|\
| * replace use of MissingSourceFile with LoadErrorAkira Matsuda2013-01-041-2/+2
* | dependencies.rb: keep the decorated #load and #require private [closes #17553]Xavier Noria2014-11-101-0/+12
* | Merge pull request #15956 from zuhao/refactor_activesupport_dependencies_testYves Senn2014-11-051-101/+124
|\ \
| * | Cleanup loaded features and constants after dependency tests.Zuhao Wan2014-06-281-100/+116
* | | fixes circularity check in dependenciesXavier Noria2014-10-251-0/+25
* | | Use `safe_constantize`.Guo Xiang Tan2014-09-021-0/+2
* | | 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