aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/javascript_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid hard-coded value in test setup and teardown.Zuhao Wan2014-06-141-3/+3
|
* Add "extname" option to javascript_include_tagNathan Stitt2013-08-031-0/+7
| | | | | | | | | | | | ActionView::Helpers.asset_path is where the logic for javascript_include_tag resides. It takes an extname option for specifying the extension or false to not append it. This exposes that option to javascript_include_tag. Without the option files that didn't end with ".js" would get the extension appended to them. This broke JST templates and other file types that should be interpreted as JavaScript but who's file extension isn't ".js"
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-0/+62