aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Covering more files in test for plugin new generator.Vishnu Atrai2011-08-131-0/+2
|
* Test add for plugin new generator generate mailerArun Agrawal2011-08-131-4/+5
|
* pluging generator test fixVishnu Atrai2011-08-131-8/+8
|
* Check that Rack::Sendfile is not included unless ↵Santiago Pastorino2011-08-131-0/+8
| | | | config.action_dispatch.x_sendfile_header is set
* provide more explicit test namesDamien Mathieu2011-07-251-2/+2
|
* Merge pull request #2247 from dmathieu/test_precompile_cachingJosé Valim2011-07-251-1/+11
|\ | | | | Add test checking that precompiling assets performs caching
| * add test checking that precompiling assets performs cachingDamien Mathieu2011-07-251-1/+11
| |
* | Make polymorphic_url calls go through application helpers again.thedarkone2011-07-251-0/+19
|/ | | | This brings back the ability to overwrite/extend url generating methods in application heleprs.
* Merge pull request #2116 from guilleiguaran/fix-environment-generator-actionSantiago Pastorino2011-07-181-0/+7
|\ | | | | Fix Rails::Generators::Actions#environment when env is passed
| * Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-0/+7
| |
* | As we are adding db folder in it. Required in test also.Arun Agrawal2011-07-171-1/+1
|/
* Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-0/+21
| | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
* Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-2/+65
| | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-122-1/+1
| | | | tmp/assets_cache between deploys.
* Generate valid default fixtures for models with a type columnMarc-Andre Lafortune2011-07-111-0/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Rails.application#env_config is now public API. [Closes #1924]Franck Verrot2011-07-111-0/+9
|
* Make Rails.groups accept arrays.José Valim2011-07-101-1/+1
|
* Don't raise on mass assignment for testJosé Valim2011-07-071-6/+15
|
* Ensure the engine_path is there (it may make CI happy).José Valim2011-07-061-1/+1
|
* Make compressors lazily load.José Valim2011-07-061-0/+11
|
* Merge pull request #1926 from tobsch/masterSantiago Pastorino2011-07-061-4/+7
|\ | | | | Accept application.js/.css to exist in a deeper directory depth by default
| * Now accepting css/js files in deeper directory structures by default.Tobias Schlottke2011-07-011-4/+7
| | | | | | | | | | This is useful for engines with own application.{js|css}-files. See: https://github.com/rails/rails/issues/1520
* | fix engines rake tasksJake Varghese2011-07-041-0/+8
| |
* | Load the generators test helper and properly load it's test caseDamien Mathieu2011-07-031-1/+2
| |
* | Fix has_migrations? check in Rails::EngineSam Pohlenz2011-07-031-0/+9
|/
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-293-23/+10
| | | | javascript_engine ("js") for apps that remove Coffee gem
* Merge pull request #1899 from ihower/patch_rake_testJosé Valim2011-06-291-0/+26
|\ | | | | Make "rake test" display not only task name but also exception message.
| * Add test to rake test for error messagesWen-Tien Chang2011-06-301-0/+26
| |
* | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-4/+10
|/ | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* fix test when running Jruby. If Jruby Platform is available the gem will change.Arun Agrawal2011-06-291-2/+10
|
* Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-1/+2
|\ | | | | Generating /lib/assets for assets
| * Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-1/+2
| |
* | Tests added when no option is given with #jruby. It should generateArun Agrawal2011-06-221-0/+8
| | | | | | | | sqlite3 based app
* | Making tests according to the changes #jrubyArun Agrawal2011-06-221-3/+4
| |
* | Test added for jdbc-adapterArun Agrawal2011-06-221-0/+6
| |
* | Railties: added tests for rake assets:cleanJames A. Rosen2011-06-211-0/+14
| |
* | Create an :assets group in the Gemfile.José Valim2011-06-212-1/+17
| | | | | | | | | | | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently.
* | Add Rails.groups to encapsulate available groups for require.José Valim2011-06-211-0/+15
| |
* | Removed tests for rescue branch for Rails 2.x compatibilityAlexey Gaziev2011-06-202-9/+0
| |
* | Attributes on scaffold and model generators default to string.José Valim2011-06-173-16/+21
| | | | | | | | This allows the following: "rails g scaffold Post title body:text author"
* | Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ \ | | | | | | Remove "is_assed" with something more meaningful
| * | Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| | |
* | | namespace engine assetsRyan Bates2011-06-121-12/+16
|/ /
* | Make i18n tests more robust.José Valim2011-06-121-3/+3
| |
* | make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
| |
* | Updated test to ensure correct sequence when copying engine/plugin migrations.Brian Quinn2011-06-101-4/+11
| |
* | Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-098-27/+140
|\ \ | | | | | | Fix engine's generator
| * | Prepend bundle exec to get the correct Rake versionStefan Sprenger2011-06-071-3/+3
| | |
| * | Use RAILS_ISOLATED_ENGINE and fix namespaced generators testsStefan Sprenger2011-06-074-12/+3
| | |