aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Test demonstrating #3053: If-Modified-Since gets swallowed up by rack-cache.Brendan Ribera2011-10-031-0/+14
|
* 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>
* :group => :assets should only run in the assets environment.José Valim2011-10-021-2/+2
|
* 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.
* possibly useless use of :: in void context Warning removedArun Agrawal2011-09-301-4/+4
|
* Honour RAILS_ENV environment variable when running rake.Dmitriy Kiriyenko2011-09-291-0/+16
|
* Make the Rack::SSL middleware configurableJustin Leitgeb2011-09-261-0/+8
|
* 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
* Copy assets to nondigested filenames tooSantiago Pastorino2011-09-261-0/+2
|
* Avoid using pathnames and automatically create the manifest directory if one ↵José Valim2011-09-241-4/+0
| | | | does not exist yet.
* Add test for belongs_to? and group initializers.José Valim2011-09-241-2/+9
|
* Remove the ENV flag, yagni.José Valim2011-09-241-10/+0
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-243-39/+82
| | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb
* set env to let rails know we're precompilingTerence Lee2011-09-221-0/+9
|
* Default precompile regexp that properly matches application.js and ↵Alex Yakoubian2011-09-161-0/+9
| | | | application.css
* config.action_controller.asset_host shouldn't set to nil during precompileGuillermo Iguaran2011-09-151-14/+0
|
* Revert "Provide a way to access to assets without using the digest, useful ↵Santiago Pastorino2011-09-141-2/+0
| | | | | | for static files and emails" This reverts commit 82afaa06861d03f6a2887d40e40c0ded76db88db.
* Fix broken asset testGuillermo Iguaran2011-09-131-2/+2
|
* Don't mount Sprockets at config.assets.prefix if config.assets.compile is false.Mark J. Titorenko2011-09-131-0/+12
|
* Provide a way to access to assets without using the digest, useful for ↵Santiago Pastorino2011-09-131-0/+2
| | | | static files and emails
* Fix precompile asset_host testGuillermo Iguaran2011-09-131-1/+1
|
* Move asset tests to assets_test fileGuillermo Iguaran2011-09-132-31/+31
|
* fixed the failing generators_testDeepak Prasanna2011-09-131-1/+1
|
* Merge pull request #2987 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\ | | | | fix https://github.com/rails/rails/issues/2947 (with testcase)
| * fix https://github.com/rails/rails/issues/2947 (with testcase)kennyj2011-09-131-0/+16
| |
* | Use the proper executable on tests.José Valim2011-09-121-1/+1
| |
* | Merge pull request #2985 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\| | | | | fix https://github.com/rails/rails/issues/2582 (with testcase)
| * fix https://github.com/rails/rails/issues/2582 (with testcase)kennyj2011-09-131-1/+17
| |
* | added test for db migrate:redoDeepak Prasanna2011-09-101-0/+25
| |
* | Merge pull request #2957 from waseem/migration_status_testsSantiago Pastorino2011-09-091-0/+24
|\ \ | | | | | | Tests for rake db:migrate:status.
| * | Tests for rake db:migrate:status.Waseem Ahmad2011-09-091-1/+25
| | |
* | | Merge pull request #2876 from alex3/patch-1Santiago Pastorino2011-09-091-0/+28
|\ \ \ | | | | | | | | Fixed assets precompile regex
| * | | Fixed assets precompile regex, now accepts ProcsAlex Yakoubian2011-09-081-0/+28
| | | |
* | | | move route inspecting to an object so that we can more easily test itAaron Patterson2011-09-092-95/+99
| |/ / |/| |
* | | Remove failing test which was wrongly introduced.Jon Leighton2011-09-081-5/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | This test was introduced in pull request #2577. The author of the pull request included the test, which was originally in #2230, at the same time as fixing a separate (but related) bug. However, the author did not include a fix for this test, so when #2577 was merged, a failing test was introduced. So I am removing the failing test for now. If anyone wants to fix the bug, please do so and submit a complete pull request with a test and a fix.
* / Refactor assets tests to use add_to_config instead of creating initializers ↵Guillermo Iguaran2011-09-061-13/+14
|/ | | | with config values
* Merge pull request #2577 from rails-noob/masterSantiago Pastorino2011-09-061-0/+48
|\ | | | | Fix double slash at start of paths when mounting an engine at the root.
| * Fix bug #2579.rails-noob2011-09-061-0/+48
| | | | | | | | Avoids double slash at start of paths when mounting an engine at the root.
* | config.action_controller.perform_caching isn't used anymore in assets ↵Guillermo Iguaran2011-09-061-0/+9
| | | | | | | | pipeline, instead we are using config.assets.digest now
* | AssetNotPrecompiledError should be raise when config.assets.digest = false, ↵Guillermo Iguaran2011-09-041-0/+26
| | | | | | | | config.assets.compile = false and manifest file isn't present
* | Merge pull request #2841 from wojtekmach/app-generators-groupJosé Valim2011-09-041-0/+14
|\ \ | | | | | | Add gem group support to generators
| * | Add gem_group support to generatorsWojciech Mach2011-09-041-0/+14
| | |