aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/asset_debugging_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Be consistent in testing outputs from railties test and use /bin/rails ↵Vipul A M2016-01-241-1/+1
| | | | | | everywhere(the default behaviour now) instead of mix of /bin/rake /bin/rails everywhere [Ryo Hashimoto & Vipul A M]
* Use sprockets 3 in the Rails 5 releaseRafael Mendonça França2015-12-161-2/+3
|
* Eliminate overlapping `app/assets` load pathJeremy Daer2015-09-291-4/+14
| | | | | | | | | | * Move `app/assets/manifest.js` to `app/assets/config/manifest.js`. Avoid the suggestion that you can/should deep-link `stylesheets/foo`. * Pull in all toplevel stylesheets and JavaScripts, not just `application.js` and `.css`. Demonstrate how to use `link_directory` with a specified `.js`/`.css` type. * Fix RAILS_ENV handling in assets tests. * Shush warnings spam from third-party libs that distract from tests.
* Migrate to Sprockets 4.Andrei Istratii2015-08-191-3/+2
|
* tests, railties tests should use `bin/` executables when possible.Yves Senn2015-06-301-1/+1
| | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path.
* Test using sprockets 3Rafael Mendonça França2015-03-291-2/+2
|
* Calls to the application constant have been refactored to usewangjohn2013-06-101-1/+1
| | | | | Rails.application when drawing routes and creating other configurations on the application.
* Fixed typo in railties/testPrathamesh Sonpatki2013-03-251-1/+1
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-2/+2
|
* Tighten up asset precompile testsJeremy Kemper2012-10-121-3/+2
|
* Minor test refactoring: Use add_to_env instead of an initializerGuillermo Iguaran2012-10-091-1/+1
|
* Remove default match without specified methodJose and Yehuda2012-04-241-1/+1
| | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* Fix a couple more script[type=text/javascript] tests affected by #5748Jeremy Kemper2012-04-081-4/+4
|
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Warnings removed for "assert_match /" Please doArun Agrawal2011-09-041-4/+4
| | | | not add more.!
* Fix asset debugging tests to reflect last changes in 3-1-stableGuillermo Iguaran2011-08-311-9/+18
|
* Fix failing asset debug test under 1.8Guillermo Iguaran2011-08-251-1/+1
|
* Move asset debugging tests into a separate test caseDaniel Schierbeck2011-08-251-0/+56
Also: - Refactor AssetDebuggingTest. - Use the %r regexp syntax. That way we don't need to escape the /'s.