aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/assets_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* #11381: Ignore config.eager_load=true for rakePaul Nikitochkin2013-07-101-1/+1
| | | | Closes #11381
* #10428: Added tests for config.assets.precompilePaul Nikitochkin2013-06-211-0/+23
| | | | | | Tests for bug in sprocket-rails: do not use value of configuration options which changed after environment loaded
* Merge pull request #10902 from wangjohn/removing_application_singleton_callsSantiago Pastorino2013-06-171-3/+3
|\ | | | | Calls to the application constant have been refactored
| * 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_on_precompile` is not used anymore.Terence Lee2013-06-131-12/+0
|/
* Fix tests from rails.png removal.Jessica Lynn Suttles2013-04-021-1/+8
| | | | | I'm giving @jlsuttles credit on this commit because she gave me the idea and the actual converted image in 952289aabfb.
* s/and and run/and runs/David Chapman2013-03-261-1/+1
| | | | Fixing some typos/grammar.
* Controller name pluralizedPrathamesh Sonpatki2013-03-251-2/+2
|
* Fix usage of lambda as a Rack endpointJiri Pospisil2012-12-311-1/+1
| | | | The response body needs to respond_to? :each.
* asset compilation should not require a database connectionAaron Patterson2012-11-131-0/+26
|
* Small change to remove warning unused variable.Arun Agrawal2012-11-011-1/+1
|
* Switch to new sprockets-rails pluginJoshua Peek2012-10-151-126/+52
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-3/+3
|
* Tighten up asset precompile testsJeremy Kemper2012-10-121-1/+1
|
* Remove duplicated testGuillermo Iguaran2012-10-091-15/+0
|
* Assets cache shouldn't be shared between different environmentsGuillermo Iguaran2012-09-281-1/+2
|
* Update asset test to match one in sprockets-railsGuillermo Iguaran2012-09-211-2/+5
|
* Use last version of sprockets-rails and syncing tests for assets.Dmitry Vorotilin2012-09-191-32/+35
|
* Rake assets:precompile shouldn't fail quietly.Dmitry Vorotilin2012-09-111-7/+4
| | | | We should show to user original issue if rake task will be aborted.
* &#39 dates back to SGML when &#x27 was introduced in HTML 4.0Kalys Osmonov2012-09-091-2/+2
|
* make assertions easier to track downAaron Patterson2012-08-071-9/+17
|
* Fix tests.Rafael Mendonça França2012-08-021-2/+2
| | | | | Since b6ab4417720e03f1551abda2f1e4bd0a392dd04e the single quotes are being escaped in the templates.
* bundle exec rake assets:precompile shouldn't fail quietly.John Yani2012-06-051-17/+24
| | | | | | | | | If JavaScript runtime is not installed, execjs fails with error quietly, while tests continue to run. This should not happen since it causes tests to fail for unknown reason (#6621). This commit assures that if JavaScript runtime is not installed, an assertion is raised.
* Remove default match without specified methodJose and Yehuda2012-04-241-5/+5
| | | | | | | | | | | | | | | | 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
|
* fix assets testSergey Nartimov2012-01-311-1/+1
|
* Fix GH #3980. Support assets:cache:clean method to respect sprockets cache.kennyj2012-01-131-1/+13
|
* Remove dead codeSantiago Pastorino2012-01-101-4/+0
|
* Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-101-0/+6
|
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Fix failing asset test.José Valim2011-12-161-1/+3
|
* Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-0/+9
|
* Ensure that files that compile to js/css are not compiled by default with ↵Piotr Sarnacki2011-12-111-2/+8
| | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not.
* Leave default_asset_host_protocol unsetJonathan del Strother2011-12-011-0/+22
| | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation)
* Merge pull request #3265 from arunagw/warning_uri_parserVijay Dev2011-10-101-1/+1
|\ | | | | URI.escape is obsolete : warning removed
| * URI.escape is obsolete : warning removedArun Agrawal2011-10-091-1/+1
| |
* | fix invalid regexkennyj2011-10-101-1/+1
|/
* Test utf8 assets filenames with request instead of manifest lookupGuillermo Iguaran2011-10-081-8/+4
|
* Skip broken asset precompilation test on Macs. Issues with NFD vs NFC ↵Jeremy Kemper2011-10-081-4/+8
| | | | normalization on the asset filename. Major red flag with asset lookups!
* Fix regression when calling helpers inside sprockets.José Valim2011-10-051-2/+2
|
* correct path used in "digested assets are not mistakenly removed" testMark J. Titorenko2011-10-041-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* add failing test: "digested assets are removed from configured path"Mark J. Titorenko2011-10-041-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix failing tests and refactor assets.rakeJosé Valim2011-10-041-1/+1
|
* add failing test for #3198Mark J. Titorenko2011-10-031-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure that enhancements to assets:precompile task are only run onceSam Pohlenz2011-10-031-0/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace calls to capture(:stdout) with quietly in assets testsSam Pohlenz2011-10-031-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Precompile properly refers files referenced with asset_path testSantiago Pastorino2011-10-021-1/+3
|
* capture was commented outSantiago Pastorino2011-10-021-2/+2
|
* Provide initialize_on_precompile which, when set to false, does not ↵José Valim2011-10-021-0/+23
| | | | initialize the app for precompilation. Defaults to true.
* Merge pull request #3136 from guilleiguaran/clear-digests-on-precompileSantiago Pastorino2011-09-261-0/+18
| | | | Avoid use of existing precompiled assets during rake assets:precompile run