aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/initializers/load_path_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
| | | | | | assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
* Remove unused boot_rails method and it's usagePrathamesh Sonpatki2016-07-041-1/+0
| | | | | - The `boot_rails` method from abstract_unit.rb is empty after 2abcdfd978fdcd491576a237e8c6b. - So let's remove it and its usage.
* Allow Pathnames to be added to eager load pathsMike Pack2013-11-111-0/+14
|
* Calls to the application constant have been refactored to usewangjohn2013-06-101-3/+3
| | | | | Rails.application when drawing routes and creating other configurations on the application.
* initialize instead of assert to fix warningVipul A M2013-04-111-0/+1
|
* Fix some typosVipul A M2013-03-241-1/+1
|
* Revert "Deprecate the `eager_load_paths` configuration"Andrew White2013-02-191-1/+1
| | | | | | | | | | | Because of the possibility of lib being unintentionally eager loaded it's been agreed that we'll leave autoload paths and eager load paths separate for Rails 4.0. This reverts commit 0757b3388ffe4f44b60de950d40e18ef05055931. Conflicts: railties/CHANGELOG.md
* Deprecate the `eager_load_paths` configurationAndrew White2013-01-241-1/+1
| | | | | | | | | | Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded.
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-3/+1
|
* load_path_test.rb is also dependent on RAILS_ENV=developmentJon Leighton2011-06-051-0/+6
|
* Clear DescendantsTracker on each request.José Valim2010-06-191-1/+1
|
* Add lib to load paths when application is inherited to be able to load lib ↵José Valim2010-06-021-0/+17
| | | | code during configuration.
* Add more tests to some key points in Railties.José Valim2010-01-281-2/+14
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Refactor railties test, break huge files in smaller chunks and move ↵José Valim2010-01-261-0/+62
initializers to application folder.