aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #20017 from eliotsykes/configurable-static-index-filenameRafael Mendonça França2015-05-281-0/+21
|\ \ | | | | | | | | | config.static_index configures directory Index "index.html" filename
| * | config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-0/+21
| | | | | | | | | | | | | | | | | | Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`.
* | | Deprecate `:nothing` option for render methodMehmet Emin İNAÇ2015-05-281-9/+9
|/ / | | | | | | `head` method works similar to `render` method with `:nothing` option
* | Merge pull request #20326 from hderms/dh/fix_task_bugRafael Mendonça França2015-05-271-0/+48
|\ \ | | | | | | | | | Fix rake method definition leaking onto Object
| * | add fixed fileDermot Haughey2015-05-271-0/+46
| | | | | | | | | | | | | | | | | | add framework_test add another test
* | | Fix file nameRafael Mendonça França2015-05-271-1/+1
| | | | | | | | | | | | This is a leftover of #19867
* | | Merge pull request #19867 from radar/rename-app-rails-loaderRafael Mendonça França2015-05-271-8/+8
|\ \ \ | |/ / |/| | Remove redundant 'Rails' from Rails::AppRailsLoader constant
| * | Remove redundant 'Rails' from Rails::AppRailsLoader constantRyan Bigg2015-05-211-8/+8
| | |
* | | Merge pull request #20248 from ronakjangir47/remove_mochaRafael Mendonça França2015-05-251-18/+34
|\ \ \ | | | | | | | | Remove use of mocha in the railties generators tests
| * | | Remove use of mocha in the railties generators tests Ronak Jangir2015-05-221-18/+34
| | | |
* | | | Omit .keep in .gitignore when generated with --skip-keeps.Ben Pickles2015-05-221-1/+5
|/ / /
* | | Remove use of mocha in the railties path testsRoque Pinel2015-05-181-59/+88
| | |
* | | removing unused and already required require'sAnkit Gupta2015-05-112-3/+0
| | | | | | | | | | | | | | | custom test - Does not include EnvHelpers and the require is not needed path generation test - require abstract_unit which has . rails/all requires rails and corresponding
* | | Refactor railties console and dbconsole commandsMehmet Emin İNAÇ2015-05-101-8/+4
| | | | | | | | | | | | fix minor convention problems
* | | add test coverage for `bin/setup`.Yves Senn2015-05-061-0/+54
| | | | | | | | | | | | Make sure this script keeps working and has consistent output.
* | | list reserved words in generator errorSean Linsley2015-05-052-2/+2
| | |
* | | Fix constant in void context warningsAndrew White2015-05-051-2/+2
| | |
* | | Document inline image mailer preview interceptorAndrew White2015-05-042-7/+20
| | | | | | | | | | | | Explain what the interceptor is used for and how to remove it.
* | | Fix railties configuration testAndrew White2015-05-041-2/+2
| | |
* | | Add support for inline images to mailer previewsAndrew White2015-05-042-8/+10
| | | | | | | | | | | | | | | Use a preview interceptor to search for inline cid: urls in src attributes and convert them to data urls.
* | | Fix mailer previews with attachmentsAndrew White2015-05-041-0/+190
| | | | | | | | | | | | | | | | | | Use the mail gem's own API to locate the correct part. Fixes #14435.
* | | Fix generator testsRafael Mendonça França2015-05-031-1/+1
| | | | | | | | | | | | In my machine the output is different
* | | Remove unneeded base fileRafael Mendonça França2015-05-032-57/+53
| | | | | | | | | | | | We are only using for one test class
* | | Remove unused private classesRafael Mendonça França2015-05-031-60/+0
| | | | | | | | | | | | | | | | | | | | | The usage of these classes where removed at 8017e6af31caa58a58787274ff0ca01397219e49. cc @arthurnn @senny
* | | Merge pull request #19093 from ↵Rafael Mendonça França2015-05-031-0/+30
|\ \ \ | | | | | | | | | | | | | | | | remomueller/fix-actionmailer-preview-links-on-subdirectories Mailer preview now uses `url_for` to fix links to emails for apps runnin...
| * | | Mailer preview now uses `url_for` to fix links to emails for apps running on ↵Remo Mueller2015-04-301-0/+30
| | | | | | | | | | | | | | | | a subdirectory, closes #19092.
* | | | Removed `assigns` from functional_test templatesPrathamesh Sonpatki2015-05-021-2/+2
|/ / / | | | | | | | | | | | | - Based on DHH's suggestion about deprecating `assigns` in https://github.com/rails/rails/pull/18305#issuecomment-68605166.
* | | Merge pull request #19939 from artofhuman/remove-mocha-from-some-testsRafael Mendonça França2015-04-281-10/+13
|\ \ \ | | | | | | | | Remove use of mocha in the named base tests
| * | | Remove use of mocha in the named base testsSemyon Pupkov2015-04-281-10/+13
| | | |
* | | | mailer previews for `NullMail` instances. Closes #19849.Yves Senn2015-04-281-0/+26
|/ / /
* | | Revert "Merge pull request #17920 from ↵Yves Senn2015-04-271-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calebthompson/dont-rely-on-environment-task-for-schema-load" This reverts commit 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb, reversing changes made to 6c9ed6dbc62450cdb87559afd15798305e069146. Caused by #17920. Closes #19545. This patch introduced regressions because initializers were no longer loaded. Specifically missing inflections result in broken restores of the database.
* | | Need to add config.assets.compile=true to access `.assets`Arthur Neves2015-04-261-0/+1
| | | | | | | | | | | | | | | | | | sprockets-rails will only add `Rails.application.assets` if compile is no false. See change on sprockets-rails https://github.com/rails/sprockets-rails/commit/d7c7ee19991c565eb77ee143be2d009ba4472122
* | | assets:cache:clean wont clean cache anymoreArthur Neves2015-04-261-11/+0
| | | | | | | | | | | | | | | See the behaviour change on sprockets-rails https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02
* | | Revert "Fix multiple suggestion test"Arthur Neves2015-04-251-1/+1
| | | | | | | | | | | | This reverts commit 6a7cf515123889360d272e8ab4be045578dfc0fb.
* | | Fix multiple suggestion testArthur Neves2015-04-251-1/+1
| | |
* | | Add test for multiple suggested generator names.Josef Šimánek2015-04-251-0/+6
| | |
* | | Why do we add a top-level constant here?Akira Matsuda2015-04-251-4/+2
|/ /
* | Remove sqlite support from `rails dbconsole`Andrew White2015-04-221-6/+0
| | | | | | | | | | | | Support for versions of SQLite less than 3 was removed in #6011 as part of the Rails 4.0 release. Therefore there is no need to have support for it in the `rails dbconsole` command anymore.
* | Implicitly skip spring for `rails new --dev`Godfrey Chan2015-04-201-0/+8
| | | | | | | | | | | | Spring seems like an obvious foot gun for the `--dev` setup, presumably you are about to make lots of changes to the codebase, so it should always reload the framework.
* | fix indent in routes when using namespaced controllersyuuji.yaginuma2015-04-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: namespace :foo do namespace :bar do get 'baz/index' end end After: namespace :foo do namespace :bar do get 'baz/index' end end
* | Rename railties/bin to railties/exeIslam Wazery2015-04-112-2/+2
| | | | | | | | | | | | That will match the new Bundler executables convention. Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html Also updated the necessary tests.
* | bugfix CodeStatics#calculate_directory_statics when dir has source extensionPablo Vizcay2015-04-091-0/+20
| |
* | Merge pull request #19034 from jvanbaarsen/explicit-job-base-classMatthew Draper2015-03-303-4/+10
|\ \ | | | | | | | | | Add explicit base class for ActiveJob jobs
| * | Add explicit base class for ActiveJob jobsJeroen van Baarsen2015-03-233-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | | Test using sprockets 3Rafael Mendonça França2015-03-293-11/+11
| | |
* | | respect `pluralize_table_names` when generate fixture file. fixes #19519yuuji.yaginuma2015-03-271-0/+10
| | |
* | | Revert "Merge pull request #19404 from dmathieu/remove_rack_env"Jeremy Kemper2015-03-206-19/+74
| | | | | | | | | | | | | | | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103.
* | | Remove `#build_original_fullpath` methodeileencodes2015-03-201-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing `#build_original_fullpath` because it is no longer used by the Rails' source code or called in the `#call` method becasue the previous commit now uses `fullpath` from Rack. The method was nodoc'ed so it's safe to remove. NOTE: I did this as a separate commit so if this does cause a problem with engines etc reverting is easy.
* | | Merge pull request #19404 from dmathieu/remove_rack_envAaron Patterson2015-03-196-74/+19
|\ \ \ | | | | | | | | Don't fallback to RACK_ENV when RAILS_ENV is not present
| * | | don't fallback to RACK_ENV when RAILS_ENV is not presentDamien Mathieu2015-03-196-74/+19
| | | |