aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract/helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move abstract's controller tests to AVŁukasz Strzałkowski2013-08-251-127/+0
| | | | The ones that were actually testing AV functionality and should belong in there
* Create AbstractController::Rendering interfaceŁukasz Strzałkowski2013-08-251-1/+2
| | | | This interface should be use when implementing renderers.
* Fix AP test suite after moving stuff to AVŁukasz Strzałkowski2013-08-251-1/+1
|
* add test-case to verify `error.path` when a helper was not found.Yves Senn2013-07-121-0/+5
| | | | | This verifies the code added with: https://github.com/rails/rails/commit/99c9d18601539c7e7e87f26bb047add1f93072af
* move `MissingHelperError` out of the `ClassMethods` module.Yves Senn2013-07-121-1/+1
|
* Show real LoadError on helpers requirePiotr Niełacny2013-07-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When helper try to require missing file rails will throw exception about missing helper. # app/helpers/my_helper.rb require 'missing' module MyHelper end And when we try do load helper class ApplicationController helper :my end Rails will throw exception. This is wrong because there is a helper file. Missing helper file helpers/my_helper.rb Now when helper try to require non-existed file rails will throw proper exception. No such file to load -- missing
* Remove unnecessary begin..rescue..end, use only rescueAkira Matsuda2013-01-061-6/+4
|
* we raise a subclass of LoadError, so rescue thatAaron Patterson2012-06-141-1/+6
|
* use consistent explicit module inclusionLuke Gruber2012-03-161-2/+2
| | | | aid ease of understanding and readability for tests
* Add clear_helpers as a way to clean up all helpers added to this controller, ↵José Valim2010-08-261-2/+19
| | | | maintaing just the helper with the same name as the controller.
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-4/+4
| | | | 's/[ \t]*$//' -i {} \;)
* Fix setting helpers_path to a string or pathnameJeremy Kemper2010-07-071-1/+1
|
* Fix failing tests after merge.José Valim2010-01-241-1/+1
|
* Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-201-1/+1
|
* Ruby 1.9: work around constant resolution behavior change :(Jeremy Kemper2009-11-041-1/+1
|
* Move some of helper tests to AbstractController.José Valim2009-11-011-15/+50
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-011-1/+3
| | | | ActionController to AbstractController.
* Follow short name convention for test folder and just call it "abstract"Joshua Peek2009-09-191-0/+44